Added settings for jest

This commit is contained in:
Alexander Cerutti
2023-04-04 21:05:25 +02:00
parent 8c7eea3168
commit c645a3fb14
3 changed files with 15 additions and 2 deletions

11
jest.config.cjs Normal file
View File

@@ -0,0 +1,11 @@
// @ts-check
/**
* @type {import("jest").Config}
*/
module.exports = {
moduleFileExtensions: ["js", "mjs", "cjs"],
testEnvironment: "node",
testMatch: ["**/specs/**/*.spec.cjs"],
};