Skip to content

Commit

Permalink
chore: made testing happy
Browse files Browse the repository at this point in the history
  • Loading branch information
lmammino committed Feb 28, 2024
1 parent 530d5cd commit 27d1aae
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions deno.lock
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"packageJson": {
"dependencies": [
"npm:@biomejs/biome@^1.5.3",
"npm:@types/jest@^29.5.12",
"npm:dts-cli@^2.0.4",
"npm:typedoc@^0.25.9",
"npm:typescript@^5.3.3"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"lint:ts": "tsc --noEmit --incremental false --diagnostics",
"test:node": "dts test",
"test:deno": "deno test test/deno.ts",
"test:bun": "bun test test/bun.test.ts"
"test:bun": "bun test ./test/bun.ts"
},
"devDependencies": {
"@biomejs/biome": "^1.5.3",
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion test/examples.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { fv, pmt, nper, ipmt, pv, irr, npv } from '../src/index.ts'
import { fv, pmt, nper, ipmt, pv, irr, npv } from '../src/index'

describe('Source code docs examples', () => {
test('fv()', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/financial.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
npv,
mirr,
PaymentDueTime,
} from '../src/index.ts'
} from '../src/index'

// Mostly based on
// https://github.com/numpy/numpy-financial/blob/master/numpy_financial/tests/test_financial.py
Expand Down

0 comments on commit 27d1aae

Please sign in to comment.