Skip to content

Commit

Permalink
CI: Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniovazquezblanco committed Jun 4, 2024
1 parent 33feb20 commit 729b6e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_hobbits.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env node

const { readdirSync, unlinkSync, existsSync } = require('fs')
const { join } = require('path')
const { join, normalize } = require('path')
const { execFileSync } = require("child_process");
const glob = require('glob');
const filecompare = require('filecompare');
Expand All @@ -26,7 +26,7 @@ async function runTests() {
let failures = 0;
let successes = 0;

let baseDir = join(__dirname, 'extracted_tests')
let baseDir = join(normalize(__dirname), 'extracted_tests')

testDirs = readdirSync(baseDir, { withFileTypes: true })
.filter(dirent => dirent.isDirectory())
Expand Down

0 comments on commit 729b6e4

Please sign in to comment.