Files
app-ethereum/tests/functional/setupTests.js
Alexandre Paillier ad8334e54c feat: unit-test with cmocka
- Test only 1 function which is in utils2.c
    - Because is not inlude nano sdk
- Move zemu's into functional folder
    - Change path of zemu's test in CI and Makefile
2022-06-28 15:11:15 +02:00

19 lines
414 B
JavaScript

import expect from 'expect'
expect.extend({
toMatchSnapshot(received, original) {
if(received.data.equals(original.data)){
return {
message: () => `snapshots are equal`,
pass: true
}
} else {
console.log("snapshots are not equal")
return {
message: () => `snapshots are not equal`,
pass: false
}
}
},
});