Skip to content
This repository was archived by the owner on Sep 4, 2024. It is now read-only.

Commit 94f9db1

Browse files
committed
refactor(tests): follow contrib guideline of official lb4 repo
1 parent 976a7d5 commit 94f9db1

File tree

6 files changed

+9
-399
lines changed

6 files changed

+9
-399
lines changed

src/__tests__/integration/reopsitory.integration.ts renamed to src/__tests__/integration/repository.integration.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ describe('Sequelize Repository (integration)', () => {
2424

2525
it('creates an entity', async () => {
2626
const user = {
27-
name: 'shubham',
28-
age: 10,
29-
email: 'test@lb4.com',
27+
name: 'Foo',
28+
age: 23,
29+
email: 'email@example.com',
3030
};
3131
const res = await client.post('/users').send(user);
3232

@@ -37,9 +37,9 @@ describe('Sequelize Repository (integration)', () => {
3737

3838
it('counts created entity', async () => {
3939
const user = {
40-
name: 'shubham',
41-
age: 10,
42-
email: 'test@lb4.com',
40+
name: 'Foo',
41+
age: 23,
42+
email: 'email@example.com',
4343
};
4444
await client.post('/users').send(user);
4545

@@ -49,9 +49,9 @@ describe('Sequelize Repository (integration)', () => {
4949

5050
it('fetches an entity', async () => {
5151
const user = {
52-
name: 'shubham',
53-
age: 10,
54-
email: 'test@lb4.com',
52+
name: 'Foo',
53+
age: 23,
54+
email: 'email@example.com',
5555
};
5656
const create = await client.post('/users').send(user);
5757
const res = await client.get(`/users/${create.body.id}`);

src/controllers/README.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

src/decorators/README.md

Lines changed: 0 additions & 34 deletions
This file was deleted.

src/mixins/README.md

Lines changed: 0 additions & 216 deletions
This file was deleted.

0 commit comments

Comments
 (0)