refactor: create util directory, move tests to it

This commit is contained in:
dumbmoron 2024-06-08 11:52:36 +00:00
parent d08e2ac04f
commit 9e09bcab6e
No known key found for this signature in database
4 changed files with 3 additions and 3 deletions

View file

@ -11,9 +11,9 @@
"scripts": {
"start": "node src/cobalt",
"setup": "node src/modules/setup",
"test": "node src/test/test",
"test": "node src/util/test",
"build": "node src/modules/buildStatic",
"testFilenames": "node src/test/testFilenamePresets"
"testFilenames": "node src/util/testFilenamePresets"
},
"repository": {
"type": "git",

View file

@ -9,7 +9,7 @@ import { normalizeRequest } from "../modules/processing/request.js";
import { env } from "../modules/config.js";
env.apiURL = 'http://localhost:9000'
let tests = loadJSON('./src/test/tests.json');
let tests = loadJSON('./src/util/tests.json');
let noTest = [];
let failed = [];