Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
doosuu committed Jun 7, 2024
1 parent db5de8e commit 234d15b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/system-test/exec.stest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ describe('CLI command', () => {
const result = spawnSync(VELOCITAS_PROCESS, ['exec', 'test-component2', 'nested'], {
encoding: DEFAULT_BUFFER_ENCODING,
});
expect(result.stdout).to.be.equal("hello nested\n");
expect(result.stdout.trim()).to.be.equal("hello nested");
});
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"basePath": "components/test-component2",
"programs": [
{
"id": "exit",
"id": "nested",
"executable": "python3",
"args": [
"./nested.py"
Expand Down
3 changes: 2 additions & 1 deletion testbench/test-sync/.velocitas.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
},
"components": [
"test-componentOne",
"test-componentTwo"
"test-componentTwo",
"test-componentThree"
],
"variables": {
"projectVariable": "projectTest",
Expand Down

0 comments on commit 234d15b

Please sign in to comment.