Fix tests

This commit is contained in:
Casper Warden
2020-12-01 12:31:44 +00:00
parent 43723d351e
commit d9279a66bf
2 changed files with 2 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ function compareArrays(arr1: any[], arr2: any[])
describe('Packets', () =>
{
const p = path.resolve(__dirname + '/../../testing/packets');
const p = path.resolve(__dirname + '/../../../testing/packets');
const files = fs.readdirSync(p);
for (const file of files)
{

View File

@@ -7,7 +7,7 @@
"scripts": {
"setup": "npm install",
"prepublish": "npm run build",
"test-only": "mocha -r source-map-support/register dist/tests/",
"test-only": "mocha -r source-map-support/register dist/lib/tests/",
"pretest": "npm run build",
"test": "npm run test-only",
"build": "tsc --removeComments",