fix: e2e test

This commit is contained in:
Danil Kovtonyuk 2021-12-10 18:47:15 +10:00
parent ea7c9602c4
commit 8d1789f66c
No known key found for this signature in database
GPG Key ID: E72A919BF08C3746
2 changed files with 5 additions and 2 deletions

View File

@ -19,6 +19,6 @@ describe('AppController (e2e)', () => {
return request(app.getHttpServer()) return request(app.getHttpServer())
.get('/') .get('/')
.expect(200) .expect(200)
.expect('Hello World!'); .expect('This is <a href=https://tornado.cash>tornado.cash</a> Relayer service. Check the <a href=/status>/status</a> for settings');
}); });
}); });

View File

@ -1,9 +1,12 @@
{ {
"moduleFileExtensions": ["js", "json", "ts"], "moduleFileExtensions": ["js", "json", "ts"],
"rootDir": ".", "rootDir": "../",
"testEnvironment": "node", "testEnvironment": "node",
"testRegex": ".e2e-spec.ts$", "testRegex": ".e2e-spec.ts$",
"transform": { "transform": {
"^.+\\.(t|j)s$": "ts-jest" "^.+\\.(t|j)s$": "ts-jest"
},
"moduleNameMapper": {
"^@/(.*)$": "<rootDir>/src/$1"
} }
} }