Skip to content

Commit d0bda8f

Browse files
committed
renomeia e2e para integration
1 parent b1d07e2 commit d0bda8f

12 files changed

Lines changed: 9 additions & 9 deletions
File renamed without changes.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
"build": "run-s clean build:app",
2222
"test:unit": "vitest --run --project unit",
2323
"test:unit:watch": "vitest --project unit",
24-
"test:e2e": "vitest --run --project e2e",
25-
"test:e2e:watch": "vitest --project e2e",
24+
"test:integration": "vitest --run --project integration",
25+
"test:integration:watch": "vitest --project integration",
2626
"test:coverage": "vitest --run --project unit --coverage",
2727
"prepare": "husky",
2828
"audit": "npm audit --audit-level=moderate",
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ starting the container and applying migrations before running the tests.**
1313
### 1. Start the test database
1414

1515
```bash
16-
docker compose -f compose.e2e.yml up -d
16+
docker compose -f compose.integration.yml up -d
1717
```
1818

1919
This starts a PostgreSQL container on port **5433** using the credentials in `.env`.
@@ -45,7 +45,7 @@ npm run test:integration:watch
4545
## Stopping the database
4646

4747
```bash
48-
docker compose -f compose.e2e.yml down
48+
docker compose -f compose.integration.yml down
4949
```
5050

5151
Since the container uses `tmpfs`, all data is lost when it stops. Start fresh
File renamed without changes.
File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export async function setup(): Promise<void> {
4343
throw new Error(
4444
`Cannot connect to the test database (${PG_HOST}:${PG_PORT}/${PG_DATABASE}). `
4545
+ 'Start the container and apply the schema before running e2e tests — '
46-
+ 'see test/e2e/README.md'
46+
+ 'see test/integration/README.md'
4747
)
4848
} finally {
4949
await knex.destroy().catch(() => undefined)
File renamed without changes.

0 commit comments

Comments
 (0)