diff --git a/src/main/java/tech/jhipster/lite/generator/client/tools/cypress/domain/Cypress.java b/src/main/java/tech/jhipster/lite/generator/client/tools/cypress/domain/Cypress.java index a486f1106b4..bee2b4e2184 100644 --- a/src/main/java/tech/jhipster/lite/generator/client/tools/cypress/domain/Cypress.java +++ b/src/main/java/tech/jhipster/lite/generator/client/tools/cypress/domain/Cypress.java @@ -27,8 +27,7 @@ public static Map cypressScripts() { } public static Map cypressFiles() { - String pathRoot = "src/test/javascript/integration"; - return Map.ofEntries(Map.entry(".eslintrc.js", pathRoot), Map.entry("tsconfig.json", pathRoot)); + return Map.ofEntries(Map.entry(".eslintrc.js", JAVASCRIPT_INTEGRATION), Map.entry("tsconfig.json", JAVASCRIPT_INTEGRATION)); } public static Map cypressTestFiles() {