- attempt to fix tests
This commit is contained in:
@@ -4,10 +4,14 @@ import * as cp from 'child_process'
|
|||||||
import * as fs from 'fs'
|
import * as fs from 'fs'
|
||||||
import {clear} from '../src/transform.js'
|
import {clear} from '../src/transform.js'
|
||||||
import {jest} from '@jest/globals'
|
import {jest} from '@jest/globals'
|
||||||
|
import { fileURLToPath } from 'url';
|
||||||
|
|
||||||
jest.setTimeout(180000)
|
jest.setTimeout(180000)
|
||||||
clear()
|
clear()
|
||||||
|
|
||||||
|
const __filename = fileURLToPath(import.meta.url); // get the resolved path to the file
|
||||||
|
const __dirname = path.dirname(__filename); // get the name of the directory
|
||||||
|
|
||||||
test('missing values should result in failure', () => {
|
test('missing values should result in failure', () => {
|
||||||
expect.assertions(1)
|
expect.assertions(1)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user