Browse Source

test: jest config file can be js

Jonas Gloning 2 years ago
parent
commit
396fb81813
1 changed files with 2 additions and 3 deletions
  1. 2 3
      jest.config.js

+ 2 - 3
jest.config.ts → jest.config.js

@@ -1,6 +1,5 @@
-import type { Config } from "jest";
-
-const config: Config = {
+/** @type {import('jest').Config} */
+const config = {
   transform: {
     "^.+\\.(t|j)sx?$": "@swc/jest",
   },