chore: update eslint-plugin-jest
This commit is contained in:
parent
e17d00d4cd
commit
bfefb2403c
|
@ -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": {
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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 => {
|
||||
|
|
Loading…
Reference in New Issue