-
Notifications
You must be signed in to change notification settings - Fork 0
Kan 15 arch 005 implementar testes #6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
62a0aac
3cace74
bbab926
ea1c7ad
077c0d1
2fca782
4ff3482
856cce2
2102ead
855cd9d
a7ee822
11c8a12
9db489b
466566f
dcc2136
57b6095
861c9e9
aabfe19
b4ddca1
dcf9cf9
f2a042d
e1f329f
3fcf1a8
19dca17
aff109a
6275d13
73d1393
56448d6
61b720f
74654a2
8c7aaee
1e3a786
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,11 @@ | ||||||||||||||||||||||||||
| { | ||||||||||||||||||||||||||
| "servers": { | ||||||||||||||||||||||||||
| "atlassian/atlassian-mcp-server": { | ||||||||||||||||||||||||||
| "type": "http", | ||||||||||||||||||||||||||
| "url": "https://mcp.atlassian.com/v1/sse", | ||||||||||||||||||||||||||
| "gallery": "https://api.mcp.github.com", | ||||||||||||||||||||||||||
| "version": "1.0.0" | ||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||
| "inputs": [] | ||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||
|
Comment on lines
+1
to
+11
|
||||||||||||||||||||||||||
| { | |
| "servers": { | |
| "atlassian/atlassian-mcp-server": { | |
| "type": "http", | |
| "url": "https://mcp.atlassian.com/v1/sse", | |
| "gallery": "https://api.mcp.github.com", | |
| "version": "1.0.0" | |
| } | |
| }, | |
| "inputs": [] | |
| } | |
| {} |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,12 +1,16 @@ | ||
| services: | ||
| postgres: | ||
| image: postgres:latest | ||
| container_name: payment_records | ||
| container_name: payment_records_db | ||
| ports: | ||
| - "5432:5432" | ||
| healthcheck: | ||
| test: ["CMD-SHELL", "pg_isready -U postgres"] | ||
| interval: 10s | ||
| timeout: 5s | ||
| retries: 5 | ||
| environment: | ||
| POSTGRES_HOST: localhost | ||
| POSTGRES_PORT: 5432 | ||
| POSTGRES_USER: postgres | ||
| POSTGRES_PASSWORD: postgres | ||
| POSTGRES_DB: payment_records | ||
| volumes: | ||
| - ./init-db.sql:/docker-entrypoint-initdb.d/init-db.sql |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| CREATE DATABASE payment_records; | ||
| CREATE DATABASE payment_records_test; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| const { pathsToModuleNameMapper } = require("ts-jest"); | ||
| const { compilerOptions } = require("./tsconfig.json"); | ||
|
|
||
| /** @type {import("jest").Config} **/ | ||
| module.exports = { | ||
| testEnvironment: "node", | ||
| preset: "ts-jest", | ||
| moduleNameMapper: pathsToModuleNameMapper(compilerOptions.paths, { prefix: "<rootDir>/src" }), | ||
|
|
||
| transformIgnorePatterns: [ | ||
| "node_modules/(?!@faker-js/faker)" | ||
| ], | ||
|
|
||
| transform: { | ||
| "^.+\\.(t|j)sx?$": ["ts-jest", { useESM: true }], | ||
| }, | ||
| }; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The build artifacts are downloaded but there's no specified path parameter, which means they will be downloaded to the current directory. However, the build artifacts should be placed in the 'dist/' directory to match the project structure. Add 'path: dist/' to this step's 'with' configuration.