@lvce-editor/test-worker 6.5.0 → 6.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/testWorkerMain.js +7 -1
- package/package.json +1 -1
package/dist/testWorkerMain.js
CHANGED
|
@@ -3743,9 +3743,15 @@ const TestFrameWorkComponent = {
|
|
|
3743
3743
|
// 1. import test module
|
|
3744
3744
|
// 2. execute test
|
|
3745
3745
|
// 3. print out results
|
|
3746
|
-
const execute = async href => {
|
|
3746
|
+
const execute = async (href, platform) => {
|
|
3747
3747
|
const globals = {
|
|
3748
3748
|
...TestFrameWorkComponent,
|
|
3749
|
+
FileSystem: {
|
|
3750
|
+
...TestFrameWorkComponentFileSystem,
|
|
3751
|
+
loadFixture(url) {
|
|
3752
|
+
return loadFixture(platform, url);
|
|
3753
|
+
}
|
|
3754
|
+
},
|
|
3749
3755
|
...TestFrameWork
|
|
3750
3756
|
};
|
|
3751
3757
|
// TODO
|