Skip to content

Commit

Permalink
fix: test dir restructure
Browse files Browse the repository at this point in the history
  • Loading branch information
abhijit-hota committed Feb 4, 2021
1 parent e171084 commit 6d08550
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,10 @@
"devDependencies": {
"ava": "3.15.0",
"eslint": "7.19.0"
},
"ava": {
"files": [
"tests/*.test.js"
]
}
}
2 changes: 1 addition & 1 deletion tests/test.js → tests/determinant.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const test = require("ava");
const { mat, mat2, strings, notSquare, identityMatrix, zeroMatrix } = require("./inputs");

const getDeterminant = require("../determinant");
const getDeterminant = require("../lib/determinant");

test("determinant", (t) => {
t.is(getDeterminant(mat), -3596);
Expand Down

0 comments on commit 6d08550

Please sign in to comment.