Skip to content

Commit

Permalink
Do "npm install" in setup
Browse files Browse the repository at this point in the history
  • Loading branch information
schani committed May 31, 2020
1 parent edd48a6 commit fb17fc7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/languages.ts
Expand Up @@ -659,8 +659,9 @@ export const JavaScriptLanguage: Language = {
export const JavaScriptPropTypesLanguage: Language = {
name: "javascript-prop-types",
base: "test/fixtures/javascript-prop-types",
setupCommand: "npm install",
runCommand(sample: string) {
return `npm install && node main.js \"${sample}\"`;
return `node main.js \"${sample}\"`;
},
copyInput: true,
diffViaSchema: false,
Expand Down

0 comments on commit fb17fc7

Please sign in to comment.