-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't working
Description
To reproduce.
add.test.ts
import { test } from '@cross/test';
import {
assertEquals
} from '@std/assert';
test('add', async() => {
assertEquals(1 + 2, 3);
});sub.test.ts
import { test } from '@cross/test';
import {
assertEquals
} from '@std/assert';
test('sub', async() => {
assertEquals(1 - 1, 0);
});And then run the command below:
/t/buntest 57.9s ❱ bun test
bun test v1.1.12 (43f0913c)
sub.test.ts:
✓ sub [1.00ms]
add.test.ts:
1 pass
0 failExpected behaviorr
Both files should be excecuted.
When I change the code like this:
- import { test } from '@cross/test';
+ import { test} from 'bun:test';It works fine.
/t/buntest 23.5s ❱ bun test
bun test v1.1.12 (43f0913c)
sub.test.ts:
✓ sub [0.29ms]
add.test.ts:
✓ add [0.02ms]
2 pass
0 failReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working