Skip to content

Commit

Permalink
Disable Jest auto-start (#386)
Browse files Browse the repository at this point in the history
  • Loading branch information
GauthierPLM authored Jun 4, 2018
1 parent 03cecd1 commit 7a9f96a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions lib/ExecutionControlEpic/Plugins/Jest.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import type { TaskAPI } from "../LanguageServerProtocolFeature/Types/pluginApi";
import type { HelperAPI } from "../TaskExecutionFeature/Types/types";
import type {
Directory,
PlanConfig,
GeneratedPlanObject,
PlanConfig,
} from "../PlanConfigurationFeature/Types/types";
import type { PackageTesterResult } from "../../ProjectSystemEpic/PackageFeature/Types/types";
import type { Plugin } from "../DevtoolLoadingFeature/Types/types";
Expand Down Expand Up @@ -212,7 +212,7 @@ const plugin: Plugin = {
}
},
generatePlansForPackage(packagePath: string): Array<GeneratedPlanObject> {
let plans = [
return [
{
name: "Watch-mode",
value: {
Expand All @@ -222,7 +222,7 @@ const plugin: Plugin = {
modifiedOnly: false,
environmentVariables: [],
},
autoRun: true,
autoRun: false, // Disabled for performances reasons
},
{
name: "No-watch-mode",
Expand All @@ -235,7 +235,6 @@ const plugin: Plugin = {
},
},
];
return plans;
},
};

Expand Down

0 comments on commit 7a9f96a

Please sign in to comment.