Fix tests
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user