Skip to content

Commit

Permalink
Remove Jest types
Browse files Browse the repository at this point in the history
  • Loading branch information
jakeboone02 committed Aug 7, 2023
1 parent ea559df commit 639ae2d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import { describe, expect, test } from 'bun:test';
import { numericQuantity } from './numericQuantity';
import { numericQuantityTests } from './numericQuantityTests';

for (const [title, tests] of Object.entries(numericQuantityTests)) {
describe(title, () => {
for (const [arg, expected, options] of tests) {
it(`${
test(`${
['string', 'object'].includes(typeof arg) ? JSON.stringify(arg) : arg
}${
typeof options !== 'undefined'
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"types": ["bun-types", "jest", "web"],
"types": ["bun-types", "web"],
"isolatedModules": true,
"declaration": true,
"sourceMap": true,
Expand Down

0 comments on commit 639ae2d

Please sign in to comment.