diff --git a/src/__tests__/transformer.test.cjs b/src/__tests__/transformer.test.cjs index ec13fae..364fffc 100644 --- a/src/__tests__/transformer.test.cjs +++ b/src/__tests__/transformer.test.cjs @@ -1,3 +1,5 @@ +import { jest, expect, describe, it } from '@jest/globals' + const { readFileSync } = require('fs') const { resolve } = require('path') const transformer = require('../../dist/transformer.cjs') diff --git a/src/__tests__/transformer.test.js b/src/__tests__/transformer.test.js index 075ede5..e788a32 100644 --- a/src/__tests__/transformer.test.js +++ b/src/__tests__/transformer.test.js @@ -1,7 +1,7 @@ import { readFileSync } from 'fs' import { dirname } from 'path' import { fileURLToPath } from 'url' -import { jest } from '@jest/globals' +import { jest, expect, describe, it } from '@jest/globals' import transformer from '../../dist/transformer.mjs'