mirror of
https://github.com/astral-sh/ruff-action.git
synced 2026-05-12 20:50:14 +02:00
Migrate to ESMBundler and node 24 (#345)
This commit is contained in:
committed by
GitHub
parent
f611dfc122
commit
0be154b683
@@ -0,0 +1,12 @@
|
||||
import { createDefaultEsmPreset } from "ts-jest";
|
||||
|
||||
const preset = createDefaultEsmPreset();
|
||||
|
||||
/** @type {import('jest').Config} */
|
||||
export default {
|
||||
...preset,
|
||||
collectCoverageFrom: ["src/**/*.ts", "!src/**/*.d.ts"],
|
||||
moduleFileExtensions: ["ts", "js", "mjs"],
|
||||
testEnvironment: "node",
|
||||
testMatch: ["<rootDir>/__tests__/**/*.test.ts"],
|
||||
};
|
||||
Reference in New Issue
Block a user