diff --git a/test/test1.js b/test/test1.js index df2d106..a9dd38f 100644 --- a/test/test1.js +++ b/test/test1.js @@ -5,9 +5,6 @@ let web3 = new Web3("ws://localhost:8545"); let myscan = scan((acc, curr) => { acc.push(curr); - if (acc.length > 4) { - acc.shift(); - } return acc; }, []) diff --git a/test/test2.js b/test/test2.js index 7a8299f..256efd7 100644 --- a/test/test2.js +++ b/test/test2.js @@ -5,9 +5,6 @@ let web3 = new Web3("ws://localhost:8545"); let myscan = scan((acc, curr) => { acc.push(curr); - if (acc.length > 4) { - acc.shift(); - } return acc; }, []) diff --git a/test/test3.js b/test/test3.js index 061bab1..a3ebc63 100644 --- a/test/test3.js +++ b/test/test3.js @@ -5,9 +5,6 @@ let web3 = new Web3("ws://localhost:8545"); let myscan = scan((acc, curr) => { acc.push(curr); - if (acc.length > 4) { - acc.shift(); - } return acc; }, [])