Skip to content

Commit 68787f6

Browse files
authored
Update custom_masking_test.js
1 parent 29ceddd commit 68787f6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/runner/custom_masking_test.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
import { exec } from 'child_process'
22
import { assert } from 'chai'
33
import path from 'path'
4+
import { fileURLToPath } from 'url'
5+
// Get the directory name of the current module
6+
const __filename = fileURLToPath(import.meta.url);
7+
const __dirname = path.dirname(__filename);
48

59
const runner = path.join(__dirname, '/../../bin/codecept.js')
610
const codecept_dir = path.join(__dirname, '/../data/sandbox')

0 commit comments

Comments
 (0)