Skip to content

Commit

Permalink
Removed old assert() hack
Browse files Browse the repository at this point in the history
Replaced with expect() - not all cases are fully idiomatic yet, but it's a good start
  • Loading branch information
ayebear committed Apr 11, 2021
1 parent 091e935 commit 0ced06d
Show file tree
Hide file tree
Showing 2 changed files with 220 additions and 199 deletions.
5 changes: 0 additions & 5 deletions test/test_utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,3 @@ export function has(it, target) {
}
return false
}

// TODO: Result of mocha/chai to jest upgrade, remove and use jest's "expect"
export function assert(value) {
expect(Boolean(value)).toBe(true)
}
Loading

0 comments on commit 0ced06d

Please sign in to comment.