Skip to content

Commit

Permalink
fix: add jest globals
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianrothe committed Jul 23, 2023
1 parent d6a381e commit a047c45
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/__tests__/transformer.test.cjs
Original file line number Diff line number Diff line change
@@ -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')
Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/transformer.test.js
Original file line number Diff line number Diff line change
@@ -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'

Expand Down

0 comments on commit a047c45

Please sign in to comment.