Skip to content

Commit

Permalink
test: modify expect value
Browse files Browse the repository at this point in the history
  • Loading branch information
ClarkXia committed May 8, 2020
1 parent ac263e3 commit 17dcaa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/icestark-module/tests/loader.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@ describe('module loader', () => {
test('excute module in sandbox', async () => {
const sandbox = new Sandbox({ multiMode: true });
const moduleInfo = await moduleLoader.execModule({ name: 'modulename', url: '//source' }, sandbox);
expect(!!moduleInfo.default).toBe(true);
expect(moduleInfo).toBe(true);
});
});

0 comments on commit 17dcaa6

Please sign in to comment.