Thank you for taking time to open a new issue. Please answer a few questions to help us fix it faster. You can delete text that is irrelevant to the issue.
Is this a bug report or a feature request?
Bug or missing Feature
If this is a bug report, please provide as much info as possible
version Latest
platform Windows 10
expected behavior no Error Thrown
actual behavior throw new Error(In order to use mount or unmount functions please place the spec in component folder);
inside the index.js u can find the following code snippet (line 11 ff):
function checkMountModeEnabled() {
// @ts-ignore
if (Cypress.spec.specType !== 'component') {
throw new Error(In order to use mount or unmount functions please place the spec in component folder);
}
}
specType is never set and there is no Documentation for it so each time u use mount or unmout with vue-cli-service test:components ur test fails. There should be at least some kind of documentation or a fix of that
Thank you for taking time to open a new issue. Please answer a few questions to help us fix it faster. You can delete text that is irrelevant to the issue.
Is this a bug report or a feature request?
Bug or missing Feature If this is a bug report, please provide as much info as possible
In order to use mount or unmount functions please place the spec in component folder
);inside the index.js u can find the following code snippet (line 11 ff): function checkMountModeEnabled() { // @ts-ignore if (Cypress.spec.specType !== 'component') { throw new Error(
In order to use mount or unmount functions please place the spec in component folder
); } } specType is never set and there is no Documentation for it so each time u use mount or unmout with vue-cli-service test:components ur test fails. There should be at least some kind of documentation or a fix of that