Skip to content

Commit

Permalink
refactor: expect -> assert in DOM storage test
Browse files Browse the repository at this point in the history
Co-Authored-By: jacobq <jacobq@gmail.com>
  • Loading branch information
alexeykuzmin and jacobq committed Nov 11, 2018
1 parent 9b57e38 commit 1f75a7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/chromium-spec.js
Expand Up @@ -946,7 +946,7 @@ describe('chromium feature', () => {
// 25 * 2^20 UTF-16 characters will require 50MiB
const arraySize = 25 * Math.pow(2, 20)
storage[testKeyName] = new Array(arraySize).fill('X').join('')
assert.strictEqual(storage[testKeyName].length, arraySize)
expect(storage[testKeyName])to.have.lengthOf(arraySize)
delete storage[testKeyName]
done()
})
Expand Down

0 comments on commit 1f75a7d

Please sign in to comment.