mirror of
https://github.com/wukko/cobalt.git
synced 2025-02-24 12:08:55 +01:00
refactor: create util
directory, move tests to it
This commit is contained in:
parent
d08e2ac04f
commit
9e09bcab6e
4 changed files with 3 additions and 3 deletions
|
@ -11,9 +11,9 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node src/cobalt",
|
"start": "node src/cobalt",
|
||||||
"setup": "node src/modules/setup",
|
"setup": "node src/modules/setup",
|
||||||
"test": "node src/test/test",
|
"test": "node src/util/test",
|
||||||
"build": "node src/modules/buildStatic",
|
"build": "node src/modules/buildStatic",
|
||||||
"testFilenames": "node src/test/testFilenamePresets"
|
"testFilenames": "node src/util/testFilenamePresets"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
|
@ -9,7 +9,7 @@ import { normalizeRequest } from "../modules/processing/request.js";
|
||||||
import { env } from "../modules/config.js";
|
import { env } from "../modules/config.js";
|
||||||
|
|
||||||
env.apiURL = 'http://localhost:9000'
|
env.apiURL = 'http://localhost:9000'
|
||||||
let tests = loadJSON('./src/test/tests.json');
|
let tests = loadJSON('./src/util/tests.json');
|
||||||
|
|
||||||
let noTest = [];
|
let noTest = [];
|
||||||
let failed = [];
|
let failed = [];
|
Loading…
Reference in a new issue