Skip to content

Commit 685606c

Browse files
committed
Add line of explanation
1 parent a0fe302 commit 685606c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
},
1818
"dependencies": {
1919
"@elastic.io/component-commons-library": "0.0.6",
20-
"chai": "^4.2.0",
20+
"chai": "4.2.0",
2121
"elasticio-node": "0.0.8",
2222
"elasticio-sailor-nodejs": "2.5.1",
2323
"mocha": "6.2.2",

spec/createPet.spec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ const msg = {
1414
},
1515
};
1616

17+
// we use sinon to mock functions such as `emit`, which come from sailor when the code is loaded onto the platform
1718
const self = {
1819
emit: sinon.spy(),
1920
};

0 commit comments

Comments
 (0)