Debian Codegraph @

debian/patches/remove-obsolete-test

raw
1 Description: remove an obsolete test that fails with recent versions of Node.js
2 because of an implementation change (https://github.com/nodejs/node/commit/a0f338ecc1)
3 Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=963771
4 Author: Olivier Tilloy <[email protected]>
5
6 --- a/test/tests.js
7 +++ b/test/tests.js
8 @@ -217,16 +217,6 @@ describe("performance", function () {
9 const tupleCount = 100000;
10 const elemCount = 10;
11
12 - it("can handle a lot of strings", function () {
13 - for (var i = 0; i < tupleCount; ++i) {
14 - const elems = [];
15 - for (var j = 0; j < elemCount; ++j) {
16 - elems.push(Math.random().toString(36).slice(2));
17 - }
18 - assert.deepEqual(tuple.apply(null, elems), elems);
19 - }
20 - });
21 -
22 it("can handle a lot of objects", function () {
23 for (var i = 0; i < tupleCount; ++i) {
24 const elems = [];