Skip to content

Commit

Permalink
completed environment configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
aniebietafia committed Aug 31, 2024
1 parent fbf8805 commit cd5fa05
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"workbench.iconTheme": "vscode-icons",
"workbench.iconTheme": "eq-material-theme-icons-ocean",
"typescript.validate.enable": true
}
1 change: 1 addition & 0 deletions brints-estate-api/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ web_modules/
.env.test.local
.env.production.local
.env.local
.env.*

# parcel-bundler cache (https://parceljs.org/)
.cache
Expand Down
6 changes: 2 additions & 4 deletions brints-estate-api/test/app.e2e-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ describe('AppController (e2e)', () => {
});

it('/ (GET)', () => {
return request(app.getHttpServer())
.get('/')
.expect(200)
.expect('Hello World!');
console.log(process.env.APP_TEST);
return request(app.getHttpServer()).get('/').expect(404);
});
});
3 changes: 2 additions & 1 deletion brints-estate-api/test/jest-e2e.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"moduleFileExtensions": ["js", "json", "ts"],
"rootDir": ".",
"rootDir": "../",
"modulePaths": ["<rootDir>"],
"testEnvironment": "node",
"testRegex": ".e2e-spec.ts$",
"transform": {
Expand Down

0 comments on commit cd5fa05

Please sign in to comment.