Skip to content

Commit

Permalink
chore: update scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
m-mdy-m committed Sep 14, 2024
1 parent 3d5df54 commit a5f587c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
"example": "examples"
},
"scripts": {
"test": "mocha --require ts-node/register npm run test:unit & test/**/*.spec.ts",
"test": "npm run test:unit & npm run test:e2e & npm run test:performance",
"test:unit": "mocha --require ts-node/register lib/**/__test__/*.spec.ts",
"test:e2e": "mocha --require ts-node/register test/e2e/**/*.spec.ts",
"test:e2e": "mocha --require ts-node/register test/e2e/*.spec.ts",
"test:performance": "mocha --require ts-node/register test/performance/*.spec.ts",
"build": "rm -r dist/* & tsc",
"release": "scripts/release.sh"
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/webserver.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { expect } from 'chai';
import { describe, it, beforeEach, afterEach } from 'mocha';
import http, { Server } from 'http';
import http from 'http';
import { WebServer } from '../../lib/core/server';
import { Context, NxtFunction } from '../../lib/types';

Expand Down

0 comments on commit a5f587c

Please sign in to comment.