mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2025-03-30 15:08:32 +00:00
Fix unit test using strict mode for random.js
This commit is contained in:
parent
2f74acc94f
commit
3919441bbc
@ -564,8 +564,8 @@ describe('Random Buffer', function() {
|
||||
});
|
||||
|
||||
it('Throw error if not initialized', function () {
|
||||
expect(randomBuffer.set).to.throw('RandomBuffer is not initialized');
|
||||
expect(randomBuffer.get).to.throw('RandomBuffer is not initialized');
|
||||
expect(randomBuffer.set.bind(randomBuffer)).to.throw('RandomBuffer is not initialized');
|
||||
expect(randomBuffer.get.bind(randomBuffer)).to.throw('RandomBuffer is not initialized');
|
||||
});
|
||||
|
||||
it('Initialization', function () {
|
||||
|
Loading…
x
Reference in New Issue
Block a user