Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
fengmk2 committed Dec 25, 2024
1 parent afb8d34 commit b1a61fc
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@eggjs/bin",
"version": "7.0.0-beta.3",
"version": "7.0.0-beta.4",
"publishConfig": {
"access": "public"
},
Expand Down Expand Up @@ -86,7 +86,7 @@
"lint": "eslint --cache src test --ext .ts",
"pretest": "npm run clean && npm run lint -- --fix && npm run prepublishOnly",
"test": "npm run test-local",
"test-local": "cross-env NODE_DEBUG=* node bin/dev.js test",
"test-local": "node bin/dev.js test",
"preci": "npm run clean && npm run lint && npm run prepublishOnly",
"cov": "c8 -r lcov -r text-summary -x 'test/**' npm run test-local -- --timeout 120000",
"ci": "npm run cov",
Expand Down
2 changes: 1 addition & 1 deletion test/cmd/test.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { getFixtures, getRootDirname } from '../helper.js';
const version = Number(process.version.substring(1, 3));

describe('test/cmd/test.test.ts', () => {
const eggBin = path.join(getRootDirname(), 'dist/esm/bin/cli.js');
const eggBin = path.join(getRootDirname(), 'bin/dev.js');
const cwd = getFixtures('test-files');

describe('egg-bin test', () => {
Expand Down
5 changes: 2 additions & 3 deletions test/coffee.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ export default {
...(options.execArgv ?? []),
];
options.env = {
// EGG_TYPESCRIPT: 'true',
// NODE_DEBUG: process.env.NODE_DEBUG,
NODE_DEBUG: '@eggjs/*',
EGG_TYPESCRIPT: 'true',
NODE_DEBUG: process.env.NODE_DEBUG,
PATH: process.env.PATH,
...options.env,
};
Expand Down
2 changes: 1 addition & 1 deletion test/egg-bin.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import coffee from './coffee.js';
import { getRootDirname, getFixtures } from './helper.js';

describe('test/egg-bin.test.ts', () => {
const eggBin = path.join(getRootDirname(), 'dist/esm/bin/cli.js');
const eggBin = path.join(getRootDirname(), 'bin/dev.js');
const cwd = getFixtures('test-files');

describe('global options', () => {
Expand Down

0 comments on commit b1a61fc

Please sign in to comment.