Преглед изворни кода

test: jest config file can be js

Jonas Gloning пре 2 година
родитељ
комит
396fb81813
1 измењених фајлова са 2 додато и 3 уклоњено
  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",
   },