diff --git a/jest.config.mjs b/jest.config.mjs index acf03e6..527e8db 100644 --- a/jest.config.mjs +++ b/jest.config.mjs @@ -124,9 +124,9 @@ export default { // rootDir: undefined, // A list of paths to directories that Jest should use to search for files in - // roots: [ - // "" - // ], + roots: [ + "src", "tests" + ], // Allows you to use a custom runner instead of Jest's default test runner // runner: "jest-runner", diff --git a/src/generator.js b/src/generator.js index be79992..46d5984 100644 --- a/src/generator.js +++ b/src/generator.js @@ -32,6 +32,4 @@ export function uuidToNoSymboUUID(uuid) { export function toSymboUUID(uuid) { return hexToUuid(uuid) -} - -console.log(uuid('test')) \ No newline at end of file +} \ No newline at end of file diff --git a/src/hooks.js b/src/hooks.js index 6e7d08b..b9707b4 100644 --- a/src/hooks.js +++ b/src/hooks.js @@ -1,4 +1,3 @@ -import { server } from './index.js' export async function headerValidation(req, rep) { if(!(/(authserver)|(sessionserver)|(api)/g).test(req.url)) { diff --git a/src/test.js b/src/test.js deleted file mode 100644 index 4bbc939..0000000 --- a/src/test.js +++ /dev/null @@ -1,3 +0,0 @@ -import * as Server from './index.js' - -console.log(Server) \ No newline at end of file