chore: update eslint-plugin-jest

This commit is contained in:
Michael Vines 2018-12-02 10:31:50 -08:00
parent e17d00d4cd
commit bfefb2403c
3 changed files with 9 additions and 11 deletions

View File

@ -4690,9 +4690,9 @@
}
},
"eslint-plugin-jest": {
"version": "22.0.1",
"resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-22.0.1.tgz",
"integrity": "sha512-thHQBWZefGO0yhjj8QA1iZ7V9S9LVk6nBK9s8B52Mg//Ly9OppFSGrrIruJ3hzgLpsLx6iIP/8/a8CfI8ESvRA==",
"version": "22.1.0",
"resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-22.1.0.tgz",
"integrity": "sha512-WcQd5LxEoAS20zuWEAd8CX0pVC+gGInZPcsoYvK5w7BrEJNmltyTxYYh1r0ct4GsahD2GvNySlcTcLtK2amFZA==",
"dev": true
},
"eslint-plugin-prettier": {

View File

@ -99,7 +99,7 @@
"eslint": "5.9.0",
"eslint-config-prettier": "^3.1.0",
"eslint-plugin-import": "2.14.0",
"eslint-plugin-jest": "22.0.1",
"eslint-plugin-jest": "22.1.0",
"eslint-plugin-prettier": "^3.0.0",
"flow-bin": "0.87.0",
"flow-typed": "2.5.1",

View File

@ -168,13 +168,11 @@ export class Transaction {
programIds.push(programId);
}
instruction.keys
.map(key => key.toString())
.forEach(key => {
if (!keys.includes(key)) {
keys.push(key);
}
});
instruction.keys.map(key => key.toString()).forEach(key => {
if (!keys.includes(key)) {
keys.push(key);
}
});
});
const instructions = this.instructions.map(instruction => {