Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions scripts/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
"main": "promptops.js",
"type": "module",
"scripts": {
"test": "node --import tsx --test --test-concurrency=1 --test-force-exit --test-reporter=spec \"**/*.test.ts\"",
"test:unit": "node --import tsx --test --test-concurrency=1 --test-force-exit --test-reporter=spec \"plugins/**/*.test.ts\"",
"test:integration": "node --import tsx --test --test-concurrency=1 --test-force-exit --test-reporter=spec \"tests/integration/**/*.test.ts\"",
"test:all": "node --import tsx --test --test-concurrency=1 --test-force-exit --test-reporter=spec \"**/*.test.ts\"",
"test:watch": "node --import tsx --test --test-concurrency=1 --test-force-exit --watch \"**/*.test.ts\"",
"test": "node --import tsx --test --test-isolation=none --test-force-exit --test-reporter=spec \"**/*.test.ts\"",
"test:unit": "node --import tsx --test --test-isolation=none --test-force-exit --test-reporter=spec \"plugins/**/*.test.ts\"",
"test:integration": "node --import tsx --test --test-isolation=none --test-force-exit --test-reporter=spec \"tests/integration/**/*.test.ts\"",
"test:all": "node --import tsx --test --test-isolation=none --test-force-exit --test-reporter=spec \"**/*.test.ts\"",
"test:watch": "node --import tsx --test --test-isolation=none --test-force-exit --watch \"**/*.test.ts\"",
"lint": "echo 'No linting configured'",
"build": "tsc",
"test:optimizer": "tsx --test --test-reporter=spec plugins/optimizer/*.test.ts",
Expand Down
2 changes: 1 addition & 1 deletion scripts/node/promptops.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,4 @@ async function main() {
}
}

main();
main().then(() => process.exit(0)).catch(() => process.exit(1));
2 changes: 1 addition & 1 deletion scripts/node/tests/integration/cli-flow.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const execAsync = promisify(exec);

describe('Integration: CLI Flow', () => {
// Chemin vers le CLI (ajuste selon ton architecture)
const CLI_PATH = 'tsx promptops.ts';
const CLI_PATH = 'npx tsx promptops.ts';

describe('promptops run', () => {
it('should execute hello-world plugin successfully', async () => {
Expand Down
Loading