@cucumber/cucumber
Advanced tools
Comparing version 10.3.1 to 10.3.2
@@ -53,2 +53,3 @@ import { IdGenerator } from '@cucumber/messages'; | ||
private parallelCanAssign; | ||
private status; | ||
constructor(); | ||
@@ -55,0 +56,0 @@ defineParameterType(options: IParameterTypeDefinition<any>): void; |
@@ -37,2 +37,3 @@ "use strict"; | ||
parallelCanAssign; | ||
status = 'PENDING'; | ||
constructor() { | ||
@@ -65,6 +66,6 @@ const methods = { | ||
const checkInstall = (method) => { | ||
if ((0, value_checker_1.doesNotHaveValue)(this.cwd)) { | ||
if (this.status === 'PENDING') { | ||
throw new Error(` | ||
You're calling functions (e.g. "${method}") on an instance of Cucumber that isn't running. | ||
This means you have an invalid installation, mostly likely due to: | ||
You're calling functions (e.g. "${method}") on an instance of Cucumber that isn't running (status: ${this.status}). | ||
This means you may have an invalid installation, potentially due to: | ||
- Cucumber being installed globally | ||
@@ -281,2 +282,3 @@ - A project structure where your support code is depending on a different instance of Cucumber | ||
finalize(canonicalIds) { | ||
this.status = 'FINALIZED'; | ||
const stepDefinitionsResult = this.buildStepDefinitions(canonicalIds?.stepDefinitionIds); | ||
@@ -319,2 +321,3 @@ return { | ||
this.World = world_1.default; | ||
this.status = 'OPEN'; | ||
} | ||
@@ -321,0 +324,0 @@ } |
@@ -1,1 +0,1 @@ | ||
export declare const version = "10.3.1"; | ||
export declare const version = "10.3.2"; |
@@ -5,3 +5,3 @@ "use strict"; | ||
// Generated by genversion. | ||
exports.version = '10.3.1'; | ||
exports.version = '10.3.2'; | ||
//# sourceMappingURL=version.js.map |
@@ -11,3 +11,3 @@ { | ||
], | ||
"version": "10.3.1", | ||
"version": "10.3.2", | ||
"homepage": "https://github.com/cucumber/cucumber-js", | ||
@@ -247,3 +247,3 @@ "author": "Julien Biezemans <jb@jbpros.com>", | ||
"supports-color": "^8.1.1", | ||
"tmp": "^0.2.1", | ||
"tmp": "0.2.3", | ||
"type-fest": "^4.8.3", | ||
@@ -250,0 +250,0 @@ "util-arity": "^1.1.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
858038
8743
Updatedtmp@0.2.3