Skip to content
This repository was archived by the owner on Oct 30, 2024. It is now read-only.

Commit 282d91a

Browse files
committed
Updated Karma dev dependencies, set concurrency to 1
1 parent 744a79d commit 282d91a

File tree

4 files changed

+11
-9
lines changed

4 files changed

+11
-9
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
with:
2020
node-version: ${{ matrix.node-version }}
2121

22-
- uses: actions/checkout@v1
22+
- uses: actions/checkout@v2
2323

2424
- run: npm install
2525
- run: npm run test
@@ -36,7 +36,7 @@ jobs:
3636
with:
3737
node-version: 12.x
3838

39-
- uses: actions/checkout@v1
39+
- uses: actions/checkout@v2
4040

4141
- run: npm install
4242
- run: npm run test:browser

karma.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module.exports = function(config) {
1515
reporters: ['progress', 'karma-typescript'],
1616
browsers: ['FirefoxHeadless', 'ChromeHeadless'],
1717
singleRun: true,
18-
concurrency: Infinity,
18+
concurrency: 1,
1919
// Extend timeouts for long tests
2020
browserDisconnectTimeout: 1000000,
2121
browserNoActivityTimeout: 1000000,

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@
6363
"@types/node": "^12.0.10",
6464
"ethers": "^4.0.33",
6565
"husky": "^2.1.0",
66-
"karma": "^5.0.2",
67-
"karma-chrome-launcher": "^2.0.0",
68-
"karma-firefox-launcher": "^1.0.0",
69-
"karma-mocha": "^2.0.0",
70-
"karma-typescript": "^5.0.2",
66+
"karma": "^5.2.2",
67+
"karma-chrome-launcher": "^3.1.0",
68+
"karma-firefox-launcher": "^1.3.0",
69+
"karma-mocha": "^2.0.1",
70+
"karma-typescript": "^5.1.0",
7171
"lodash.zip": "^4.2.0",
7272
"mocha": "^7.1.2",
7373
"nyc": "^15.0.1",

src/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,9 @@ export default class Wallet {
599599
}
600600

601601
const ciphertext = runCipherBuffer(cipher, this.privKey)
602-
const mac = keccak256(Buffer.concat([Buffer.from(derivedKey.slice(16, 32)), Buffer.from(ciphertext)]))
602+
const mac = keccak256(
603+
Buffer.concat([Buffer.from(derivedKey.slice(16, 32)), Buffer.from(ciphertext)]),
604+
)
603605

604606
return {
605607
version: 3,

0 commit comments

Comments
 (0)