mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 13:25:19 +00:00
Added jest import and removed globals
This commit is contained in:
@@ -8,4 +8,5 @@ module.exports = {
|
||||
moduleFileExtensions: ["js", "mjs", "cjs"],
|
||||
testEnvironment: "node",
|
||||
testMatch: ["**/specs/**/*.spec.cjs"],
|
||||
injectGlobals: false,
|
||||
};
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
// @ts-check
|
||||
/// <reference types="@jest/globals" />
|
||||
|
||||
const {
|
||||
describe,
|
||||
@@ -7,6 +6,7 @@ const {
|
||||
beforeEach,
|
||||
it,
|
||||
afterEach,
|
||||
jest,
|
||||
} = require("@jest/globals");
|
||||
|
||||
const fs = require("node:fs/promises");
|
||||
|
||||
Reference in New Issue
Block a user