packages/lesspass-pure/cypress/integration/connectedMode.spec.js → packages/lesspass-pure/tests/e2e/specs/connectedMode.spec.jsVoir le fichier
packages/lesspass-pure/cypress/integration/index.spec.js → packages/lesspass-pure/tests/e2e/specs/index.spec.jsVoir le fichier
packages/lesspass-pure/cypress/integration/passwordGeneration.spec.js → packages/lesspass-pure/tests/e2e/specs/passwordGeneration.spec.jsVoir le fichier
packages/lesspass-pure/cypress/integration/settings.spec.js → packages/lesspass-pure/tests/e2e/specs/settings.spec.jsVoir le fichier
+ 0- 0
packages/lesspass-pure/tests/e2e/support/commands.jsVoir le fichier
packages/lesspass-pure/cypress/support/index.js → packages/lesspass-pure/tests/e2e/support/index.jsVoir le fichier
packages/lesspass-pure/src/api/password.test.js → packages/lesspass-pure/tests/unit/api/password.spec.jsVoir le fichier
@@ -1,6 +1,6 @@
import axios from "axios";
import MockAdapter from "axios-mock-adapter";
import Passwords from "./password";
import Passwords from "@/api/password";
const mock = new MockAdapter(axios);
packages/lesspass-pure/src/api/user.test.js → packages/lesspass-pure/tests/unit/api/user.spec.jsVoir le fichier
@@ -1,6 +1,6 @@
import axios from "axios";
import MockAdapter from "axios-mock-adapter";
import User from "./user";
import User from "@/api/user";
const mock = new MockAdapter(axios);
packages/lesspass-pure/src/components/InputSite.test.js → packages/lesspass-pure/tests/unit/components/InputSite.spec.jsVoir le fichier
@@ -1,8 +1,8 @@
import { mount } from "@vue/test-utils";
import InputSite from "./InputSite.vue";
import InputSite from "@/components/InputSite.vue";
jest.mock("../services/url-parser");
import { getSuggestions } from "../services/url-parser";
jest.mock("@/services/url-parser");
import { getSuggestions } from "@/services/url-parser";
const createWrapper = data =>
mount({
packages/lesspass-pure/src/services/form-validator.test.js → packages/lesspass-pure/tests/unit/services/form-validator.spec.jsVoir le fichier
@@ -1,4 +1,4 @@
import formValidator from "./form-validator";
import formValidator from "@/services/form-validator";