Skip to content

Commit aba4f12

Browse files
author
Greg S
committed
issue#373: use Uint8Array comparison for toDTO() with Uint8Array return type
1 parent d57c5a5 commit aba4f12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/model/mosaic/MosaicNonce.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ describe('MosaicNonce', () => {
2424
it('should be created from Uint8Array', () => {
2525
const nonce = new MosaicNonce(new Uint8Array([0x0, 0x0, 0x0, 0x0]));
2626
deepEqual(nonce.nonce, new Uint8Array([0x0, 0x0, 0x0, 0x0]));
27-
deepEqual(nonce.toDTO(), [0, 0, 0, 0]);
27+
deepEqual(nonce.toDTO(), new Uint8Array([0x0, 0x0, 0x0, 0x0]));
2828
});
2929

3030
it('should create random nonce', () => {

0 commit comments

Comments
 (0)