We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6faa4f commit 20cd927Copy full SHA for 20cd927
2 files changed
lib/helper/testcafe/testcafe-utils.js
@@ -4,6 +4,11 @@ import assert from 'assert'
4
import fs from 'fs'
5
import path from 'path'
6
import { getParamNames } from '../../utils.js'
7
+import { fileURLToPath } from 'url'
8
+import { dirname } from 'path'
9
+
10
+const __filename = fileURLToPath(import.meta.url)
11
+const __dirname = dirname(__filename)
12
13
const createTestFile = () => {
14
assert(global.output_dir, 'global.output_dir must be set')
lib/test-server.js
@@ -1,6 +1,11 @@
1
import express from 'express'
2
3
/**
* Internal API test server to replace json-server dependency
0 commit comments