Browse Source

test: jest config file can be js

Jonas Gloning 2 năm trước cách đây
mục cha
commit
396fb81813
1 tập tin đã thay đổi với 2 bổ sung3 xóa
  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",
   },