Skip to content

Commit

Permalink
test: Update Engine init test case
Browse files Browse the repository at this point in the history
  • Loading branch information
gantunesr committed Aug 2, 2023
1 parent 084b20d commit cfb3bf3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions app/core/Engine.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ describe('Engine', () => {
backgroundState.PhishingController.listState.allowlist = [];
backgroundState.PhishingController.listState.blocklist = [];
backgroundState.PhishingController.listState.fuzzylist = [];
// Add mock value to vault
backgroundState.KeyringController.vault = 'mock-vault';

expect(engine.datamodel.state).toStrictEqual(initialState);
});
Expand Down
4 changes: 2 additions & 2 deletions app/util/test/initial-background-state.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"KeyringController": {
"isUnlocked": false,
"keyringTypes": [],
"keyrings": []
"keyrings": [],
"vault": "mock-vault"
},
"AccountTrackerController": {
"accounts": {}
Expand Down

0 comments on commit cfb3bf3

Please sign in to comment.