Skip to content

Commit

Permalink
Merge pull request #18 from jellejurre/fix/fix-test-errors
Browse files Browse the repository at this point in the history
FIx test errors
ariesclark authored Oct 25, 2024
2 parents 56ff5af + 1bcc6bf commit 7db45ac
Showing 4 changed files with 189 additions and 304 deletions.
8 changes: 7 additions & 1 deletion ava.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
import fs from "node:fs";
import path from "node:path";

const testOrder = JSON.parse(fs.readFileSync("./tests/_order.json", "utf8"));
var testOrder = JSON.parse(fs.readFileSync("./tests/_order.json", "utf8"));
testOrder = Object.fromEntries(
Object.entries(testOrder).map(([key, value]) => [
key.replaceAll("/", path.sep),
value
])
);

export default {
cache: false,
Loading

0 comments on commit 7db45ac

Please sign in to comment.