test: jest config file can be js

This commit is contained in:
Jonas Gloning 2023-02-14 15:26:35 +01:00
parent 33a312d21c
commit 396fb81813
No known key found for this signature in database
GPG Key ID: 684639B5E59E7614

View File

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