diff --git a/test/app.e2e-spec.ts b/test/app.e2e-spec.ts index 50cda62..4027ec0 100644 --- a/test/app.e2e-spec.ts +++ b/test/app.e2e-spec.ts @@ -19,6 +19,6 @@ describe('AppController (e2e)', () => { return request(app.getHttpServer()) .get('/') .expect(200) - .expect('Hello World!'); + .expect('This is tornado.cash Relayer service. Check the /status for settings'); }); }); diff --git a/test/jest-e2e.json b/test/jest-e2e.json index e9d912f..c1b2225 100644 --- a/test/jest-e2e.json +++ b/test/jest-e2e.json @@ -1,9 +1,12 @@ { "moduleFileExtensions": ["js", "json", "ts"], - "rootDir": ".", + "rootDir": "../", "testEnvironment": "node", "testRegex": ".e2e-spec.ts$", "transform": { "^.+\\.(t|j)s$": "ts-jest" + }, + "moduleNameMapper": { + "^@/(.*)$": "/src/$1" } }