Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,9 @@ describe("sandpit", () => {
it("check that our sandpit works", () => {
// This will perform database tasks,
// instead of using our mocks because they are removed
const initialSize = store.database.getUsers().length;
store.addUser(harry, () => {});
assert.match(store.database.getUsers().length, 1);
assert.match(store.database.getUsers().length, initialsize + 1);
});


Expand Down