Closed elmanoneto closed 3 years ago
hi @elmanoneto , I'm getting sh: jest: command not found
when testing your modules.
Is there any additional config I should execute?
hey @rafoli , you should run yarn
or npm install
to install miss libraries.
Do you should too to change service urls to Mockoon url (we need to create environments for separate dev/test)
Hi @rafoli , I've removed the unnecessary files. If you want to run unit tests, you should:
You need to run Mockmoon before in port 3001, and import config files from the mockmoon folder.
After that, you'll need to run the following commands: yarn
and yarn test
.
hey @elmanoneto , the build process is not working for me
ReferenceError: SampleWorkspace is not defined
5 |
6 | const api = axios.create({
> 7 | baseURL: SampleWorkspace.baseUrl,
| ^
8 | params: {
9 | "p_auth": window.Liferay.authToken
10 | },
Kudos, SonarCloud Quality Gate passed!
https://services.liferay.com/browse/INLSW-36