ソースを参照

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",
   },