diff --git a/lib/tests/packets.ts b/lib/tests/packets.ts index aa86491..a477491 100644 --- a/lib/tests/packets.ts +++ b/lib/tests/packets.ts @@ -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) { diff --git a/package.json b/package.json index fa1f73d..1ed7e7e 100644 --- a/package.json +++ b/package.json @@ -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",