Skip to content

Commit

Permalink
Shorten Base64Util test cases
Browse files Browse the repository at this point in the history
1000000 items is very slow; the tests take about 4 seconds on my machine.
  • Loading branch information
GarboMuffin committed Feb 10, 2024
1 parent 845c374 commit 9657efb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/util_base64.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ test('round trips', t => {
new Uint8Array(0),
new Uint8Array([10, 90, 0, 255, 255, 255, 10, 2]),
new Uint8Array(10000),
new Uint8Array(1000000)
new Uint8Array(100000)
];
for (const uint8array of data) {
const uint8ToBase64 = Base64Util.uint8ArrayToBase64(uint8array);
Expand Down

0 comments on commit 9657efb

Please sign in to comment.