Skip to content

Commit 2853395

Browse files
committed
Remove Jest types
1 parent 595d0b1 commit 2853395

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/formatQuantity.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1+
import { describe, expect, test } from 'bun:test';
12
import { formatQuantity, formatRomanNumerals } from './formatQuantity';
23
import { formatQuantityTests } from './formatQuantityTests';
34

45
for (const [description, expects] of Object.entries(formatQuantityTests)) {
56
describe(description, () => {
67
for (const [quantity, result, options] of expects) {
7-
it(`${quantity}${
8+
test(`${quantity}${
89
typeof options === 'undefined'
910
? ''
1011
: ` with option ${JSON.stringify(options)}`
@@ -17,7 +18,7 @@ for (const [description, expects] of Object.entries(formatQuantityTests)) {
1718
});
1819
}
1920

20-
it('returns null for NaN and strings (Roman)', () => {
21+
test('returns null for NaN and strings (Roman)', () => {
2122
expect(formatRomanNumerals(NaN)).toBe(null);
2223
expect(formatRomanNumerals('NaN' as any)).toBe(null);
2324
});

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"compilerOptions": {
3-
"types": ["bun-types", "jest", "web"],
3+
"types": ["bun-types", "web"],
44
"isolatedModules": true,
55
"declaration": true,
66
"sourceMap": true,

0 commit comments

Comments
 (0)