I am struggling to run the code on my shiny M1 Mac.
To install Redis:
arch -arm64 brew install redis
Then
brew services start redis
Then, in the docker-compose.yml, I had to add the platform line:
mysql:
# For Apple M1
platform: linux/x86_64
image: mysql:5.7
But when I run the tests, I get many errors.
Just one of them:
#crud-typeorm › #query params › #search › should return with search, 17
expected 200 "OK", got 500 "Internal Server Error"
at Test.Object.<anonymous>.Test._assertStatus (node_modules/supertest/lib/test.js:268:12)
at Test.Object.<anonymous>.Test._assertFunction (node_modules/supertest/lib/test.js:283:11)
at Test.Object.<anonymous>.Test.assert (node_modules/supertest/lib/test.js:173:18)
at Server.localAssert (node_modules/supertest/lib/test.js:131:12)
Totals
Test Suites: 4 failed, 17 passed, 21 total
Tests: 104 failed, 258 passed, 362 total
Snapshots: 0 total
Time: 9.016s
I am struggling to run the code on my shiny M1 Mac.
To install Redis:
arch -arm64 brew install redis
Thenbrew services start redis
Then, in the docker-compose.yml, I had to add the platform line:
But when I run the tests, I get many errors.
Just one of them:
Totals