Move unit tests to test/ folder

Move unit tests for client, master, and the lib to test/ and move plugin
unit tests to <plugin dir>/test.
This commit is contained in:
Hornwitser committed 2019-09-14 14:49:52 +02:00
1 parent 74c99b9e13
commit a63c341209
16 files changed
+18 -12

No files matched your search

@@ -1,6 +1,6 @@
const assert = require("assert");
const child_process = require("child_process");
const functions = require("./interfacingFunctions");
const functions = require("../interfacingFunctions");
const luamin = require("luamin");
const isFactorioCommand = require("lib/isFactorioCommand");
const nock = require("nock");
@@ -1,4 +1,4 @@
const isJson = require("./isJson");
const isJson = require("../isJson");
const assert = require("assert");
describe("inventoryImports/isJson.js()", function(){
@@ -3,7 +3,7 @@ const nock = require("nock");
const isFactorioCommand = require("lib/isFactorioCommand");
const researchSync = require("./index.js");
const researchSync = require("../index.js");
describe("researchSync/index.js", function() {
it("exports a single class (or at least a function)", function() {