update test

This commit is contained in:
ahabhgk 2023-06-17 00:03:31 +08:00
parent 41f0a98b12
commit c6b6fd9889
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,6 @@
import i from "./won't-run-tla";
import i, { foo } from "./won't-run-tla";
it("should have value imported from won't-run-tla", async () => {
expect(i).toBe(42);
expect(foo).toBe(undefined);
});

View File

@ -1,2 +1,4 @@
global.someNonExistentVariable && await 'test';
const foo = global.otherSomeNonExistentVariable && await 43;
export default 42;
export { foo }