there is no unit test in src/test/javascript folder, but they are actual in the same folder of feature and they can work well.
e.g.
src/main/webapp/app/account/login-form/login-form.component.ts
src/main/webapp/app/account/login-form/login-form.component.spec.ts
and jhipster cannot create src/test/javascript/jest.conf.js automatically, though .eslintignore includes this refference
Overview of the issue
there is no unit test in src/test/javascript folder, but they are actual in the same folder of feature and they can work well. e.g. src/main/webapp/app/account/login-form/login-form.component.ts src/main/webapp/app/account/login-form/login-form.component.spec.ts
and jhipster cannot create src/test/javascript/jest.conf.js automatically, though .eslintignore includes this refference
BTW, can I run integration test with real API by Jest? how to set up and run, thanks.
Motivation for or Use Case
Reproduce the error
npm install -g generator-jhipster
Related issues
Suggest a Fix
JHipster Version(s)
v8.5.0
JHipster configuration
Welcome to JHipster v8.5.0
Welcome to the JHipster Information Sub-Generator
JHipster configuration, a
.yo-rc.json
file generated in the root folder.yo-rc.json file
Environment and Tools
openjdk version "21.0.2" 2024-01-16 OpenJDK Runtime Environment (build 21.0.2+13-58) OpenJDK 64-Bit Server VM (build 21.0.2+13-58, mixed mode, sharing)
git version 2.45.1.windows.1
node: v20.13.1 npm: 10.5.2
Docker version 26.0.0, build 2ae903e
JDL for the Entity configuration(s)
entityName.json
files generated in the.jhipster
directoryJDL entity definitions
Congratulations, JHipster execution is complete! If you find JHipster useful consider sponsoring the project https://www.jhipster.tech/sponsors/
Thanks for using JHipster!
Entity configuration(s)
entityName.json
files generated in the.jhipster
directoryBrowsers and Operating System
Edition Windows 11 Pro Version 23H2 Install Date β2024/β4/β23 OS version 22631.3593 Experience Windows Feature Experience Pack 1000.22700.1003.0