Skip to content

Commit bb6a0e1

Browse files
committed
fix(build): fixed integration test execution
1 parent fec3e49 commit bb6a0e1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
},
3737
"dependencies": {
3838
"@types/node": "^12.20.24",
39-
"code-engine-sdk-demo": "file:example",
4039
"extend": "^3.0.2",
4140
"ibm-cloud-sdk-core": "^2.14.1"
4241
},

test-integration.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@
77
echo "Running integration tests..."
88

99
# Setup example package
10-
npm install -p example
10+
cd example
11+
npm install
1112

1213
# Run example, get exit code
13-
exampleoutput=$(node example/example.js)
14+
exampleoutput=$(node ./example.js)
1415
exampleexit=$?
1516
if [ $exampleexit -ne 0 ]; then
1617
echo "Integration tests failed with exit code $exampleexit"

0 commit comments

Comments
 (0)