We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f669970 commit ddb448eCopy full SHA for ddb448e
test/test_other.py
@@ -3973,14 +3973,10 @@ def test_file_packager_export_es6(self):
3973
create_file('run.js', '''
3974
import loadDataFile from './dataFileLoader.js'
3975
import {default as loadModule} from './moduleFile.js'
3976
-
3977
- loadModule().then((module) => {
3978
- loadDataFile(module)
3979
- .then(() => {
3980
- module._test_fun();
3981
- }
3982
- );
3983
- });
+
+ var module = await loadModule();
+ await loadDataFile(module);
+ module._test_fun();
3984
''')
3985
3986
self.assertContained('hello data', self.run_js('run.js'))
0 commit comments