Bring in hapi-nextauth and dev support libs

This commit is contained in:
Abel Luck 2023-03-13 08:24:20 +00:00
parent feab3f90d7
commit 7aa1ec74eb
45 changed files with 14633 additions and 1141 deletions

View file

@ -0,0 +1,21 @@
module.exports = {
testEnvironment: 'node',
roots: ["<rootDir>", "<rootDir>/src"],
passWithNoTests: true,
testMatch: ["<rootDir>/src/**/*.spec.{ts,tsx}"],
silent: false,
verbose: true,
collectCoverage: true,
coverageDirectory: "coverage",
testPathIgnorePatterns: [
"/node_modules"
],
/*
The modulePathIgnorePatterns accepts these sorts of paths:
<rootDir>/src
<rootDir>/src/file.ts
...and ignores anything else under <rootDir>
*/
modulePathIgnorePatterns: ["^<rootDir>/(?!(?:src/)|(?:src$))"]
};

View file

@ -0,0 +1,17 @@
{
"name": "jest-config-link",
"version": "0.0.1",
"description": "",
"author": "Abel Luck <abel@guardianproject.info>",
"license": "AGPL-3.0-or-later",
"private": false,
"engines": {
"node": ">=14"
},
"dependencies": {
"@types/jest": "^27.0.2",
"jest": "^27.2.5",
"jest-junit": "^13.0.0"
},
"peerDependencies": {}
}