From 396fb81813867a898b1bc2fb69fd3cd5f15b8ca2 Mon Sep 17 00:00:00 2001 From: Jonas Gloning <34194370+jonasgloning@users.noreply.github.com> Date: Tue, 14 Feb 2023 15:26:35 +0100 Subject: [PATCH] test: jest config file can be js --- jest.config.ts => jest.config.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) rename jest.config.ts => jest.config.js (57%) diff --git a/jest.config.ts b/jest.config.js similarity index 57% rename from jest.config.ts rename to jest.config.js index 77f6006..c5fbec6 100644 --- a/jest.config.ts +++ b/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", },