mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2026-02-27 13:33:23 +00:00
Fix unit test using strict mode for random.js
This commit is contained in:
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user