From 8b95a197b8c96263e19ab133d0ea888e2513c885 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Lenon?= Date: Fri, 8 Oct 2021 23:46:20 -0300 Subject: [PATCH] styles: Pluralize test folder name --- app/templates/nestjsMongoose/E2E/__name__/delete.spec.ts.txt | 2 +- app/templates/nestjsMongoose/E2E/__name__/index.spec.ts.txt | 2 +- app/templates/nestjsMongoose/E2E/__name__/show.spec.ts.txt | 2 +- app/templates/nestjsMongoose/E2E/__name__/store.spec.ts.txt | 2 +- app/templates/nestjsMongoose/E2E/__name__/update.spec.ts.txt | 2 +- app/templates/nestjsPrismaOrm/E2E/__name__/delete.spec.ts.txt | 2 +- app/templates/nestjsPrismaOrm/E2E/__name__/index.spec.ts.txt | 2 +- app/templates/nestjsPrismaOrm/E2E/__name__/show.spec.ts.txt | 2 +- app/templates/nestjsPrismaOrm/E2E/__name__/store.spec.ts.txt | 2 +- app/templates/nestjsPrismaOrm/E2E/__name__/update.spec.ts.txt | 2 +- app/templates/nestjsTypeOrm/E2E/__name__/delete.spec.ts.txt | 2 +- app/templates/nestjsTypeOrm/E2E/__name__/index.spec.ts.txt | 2 +- app/templates/nestjsTypeOrm/E2E/__name__/show.spec.ts.txt | 2 +- app/templates/nestjsTypeOrm/E2E/__name__/store.spec.ts.txt | 2 +- app/templates/nestjsTypeOrm/E2E/__name__/update.spec.ts.txt | 2 +- package.json | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/app/templates/nestjsMongoose/E2E/__name__/delete.spec.ts.txt b/app/templates/nestjsMongoose/E2E/__name__/delete.spec.ts.txt index 7edfd02..e8c926e 100644 --- a/app/templates/nestjsMongoose/E2E/__name__/delete.spec.ts.txt +++ b/app/templates/nestjsMongoose/E2E/__name__/delete.spec.ts.txt @@ -2,7 +2,7 @@ import * as request from 'supertest' import { Debug } from '@secjs/logger' import { AppModule } from 'app/AppModule' -import { App, Database } from 'test/Utils' +import { App, Database } from 'tests/Utils' import { <%= namePascal %>Factory } from 'database/factories/<%= namePascal %>Factory' describe('\n[E2E] <%= namePascal %> ❌', () => { diff --git a/app/templates/nestjsMongoose/E2E/__name__/index.spec.ts.txt b/app/templates/nestjsMongoose/E2E/__name__/index.spec.ts.txt index 7060f5a..83eb9a8 100644 --- a/app/templates/nestjsMongoose/E2E/__name__/index.spec.ts.txt +++ b/app/templates/nestjsMongoose/E2E/__name__/index.spec.ts.txt @@ -2,7 +2,7 @@ import * as request from 'supertest' import { Debug } from '@secjs/logger' import { AppModule } from 'app/AppModule' -import { App, Database } from 'test/Utils' +import { App, Database } from 'tests/Utils' import { <%= namePascal %>Factory } from 'database/factories/<%= namePascal %>Factory' describe('\n[E2E] <%= namePascal %> 🗒', () => { diff --git a/app/templates/nestjsMongoose/E2E/__name__/show.spec.ts.txt b/app/templates/nestjsMongoose/E2E/__name__/show.spec.ts.txt index 1ec9a37..f2c6ab2 100644 --- a/app/templates/nestjsMongoose/E2E/__name__/show.spec.ts.txt +++ b/app/templates/nestjsMongoose/E2E/__name__/show.spec.ts.txt @@ -2,7 +2,7 @@ import * as request from 'supertest' import { Debug } from '@secjs/logger' import { AppModule } from 'app/AppModule' -import { App, Database } from 'test/Utils' +import { App, Database } from 'tests/Utils' import { <%= namePascal %>Factory } from 'database/factories/<%= namePascal %>Factory' describe('\n[E2E] <%= namePascal %> 🔍', () => { diff --git a/app/templates/nestjsMongoose/E2E/__name__/store.spec.ts.txt b/app/templates/nestjsMongoose/E2E/__name__/store.spec.ts.txt index 8b49c24..9896f07 100644 --- a/app/templates/nestjsMongoose/E2E/__name__/store.spec.ts.txt +++ b/app/templates/nestjsMongoose/E2E/__name__/store.spec.ts.txt @@ -2,7 +2,7 @@ import * as request from 'supertest' import { Debug } from '@secjs/logger' import { AppModule } from 'app/AppModule' -import { App, Database } from 'test/Utils' +import { App, Database } from 'tests/Utils' describe('\n[E2E] <%= namePascal %> 🧱', () => { it('should create a new <%= nameCamel %>', async () => { diff --git a/app/templates/nestjsMongoose/E2E/__name__/update.spec.ts.txt b/app/templates/nestjsMongoose/E2E/__name__/update.spec.ts.txt index 15652a8..676f2f9 100644 --- a/app/templates/nestjsMongoose/E2E/__name__/update.spec.ts.txt +++ b/app/templates/nestjsMongoose/E2E/__name__/update.spec.ts.txt @@ -2,7 +2,7 @@ import * as request from 'supertest' import { Debug } from '@secjs/logger' import { AppModule } from 'app/AppModule' -import { App, Database } from 'test/Utils' +import { App, Database } from 'tests/Utils' import { <%= namePascal %>Factory } from 'database/factories/<%= namePascal %>Factory' describe('\n[E2E] <%= namePascal %> 🛠', () => { diff --git a/app/templates/nestjsPrismaOrm/E2E/__name__/delete.spec.ts.txt b/app/templates/nestjsPrismaOrm/E2E/__name__/delete.spec.ts.txt index 7edfd02..e8c926e 100644 --- a/app/templates/nestjsPrismaOrm/E2E/__name__/delete.spec.ts.txt +++ b/app/templates/nestjsPrismaOrm/E2E/__name__/delete.spec.ts.txt @@ -2,7 +2,7 @@ import * as request from 'supertest' import { Debug } from '@secjs/logger' import { AppModule } from 'app/AppModule' -import { App, Database } from 'test/Utils' +import { App, Database } from 'tests/Utils' import { <%= namePascal %>Factory } from 'database/factories/<%= namePascal %>Factory' describe('\n[E2E] <%= namePascal %> ❌', () => { diff --git a/app/templates/nestjsPrismaOrm/E2E/__name__/index.spec.ts.txt b/app/templates/nestjsPrismaOrm/E2E/__name__/index.spec.ts.txt index 7060f5a..83eb9a8 100644 --- a/app/templates/nestjsPrismaOrm/E2E/__name__/index.spec.ts.txt +++ b/app/templates/nestjsPrismaOrm/E2E/__name__/index.spec.ts.txt @@ -2,7 +2,7 @@ import * as request from 'supertest' import { Debug } from '@secjs/logger' import { AppModule } from 'app/AppModule' -import { App, Database } from 'test/Utils' +import { App, Database } from 'tests/Utils' import { <%= namePascal %>Factory } from 'database/factories/<%= namePascal %>Factory' describe('\n[E2E] <%= namePascal %> 🗒', () => { diff --git a/app/templates/nestjsPrismaOrm/E2E/__name__/show.spec.ts.txt b/app/templates/nestjsPrismaOrm/E2E/__name__/show.spec.ts.txt index 1ec9a37..f2c6ab2 100644 --- a/app/templates/nestjsPrismaOrm/E2E/__name__/show.spec.ts.txt +++ b/app/templates/nestjsPrismaOrm/E2E/__name__/show.spec.ts.txt @@ -2,7 +2,7 @@ import * as request from 'supertest' import { Debug } from '@secjs/logger' import { AppModule } from 'app/AppModule' -import { App, Database } from 'test/Utils' +import { App, Database } from 'tests/Utils' import { <%= namePascal %>Factory } from 'database/factories/<%= namePascal %>Factory' describe('\n[E2E] <%= namePascal %> 🔍', () => { diff --git a/app/templates/nestjsPrismaOrm/E2E/__name__/store.spec.ts.txt b/app/templates/nestjsPrismaOrm/E2E/__name__/store.spec.ts.txt index f44013b..b7022bb 100644 --- a/app/templates/nestjsPrismaOrm/E2E/__name__/store.spec.ts.txt +++ b/app/templates/nestjsPrismaOrm/E2E/__name__/store.spec.ts.txt @@ -2,7 +2,7 @@ import * as request from 'supertest' import { Debug } from '@secjs/logger' import { AppModule } from 'app/AppModule' -import { App, Database } from 'test/Utils' +import { App, Database } from 'tests/Utils' describe('\n[E2E] <%= namePascal %> 🧱', () => { it('should create a new <%= nameCamel %>', async () => { diff --git a/app/templates/nestjsPrismaOrm/E2E/__name__/update.spec.ts.txt b/app/templates/nestjsPrismaOrm/E2E/__name__/update.spec.ts.txt index 15652a8..676f2f9 100644 --- a/app/templates/nestjsPrismaOrm/E2E/__name__/update.spec.ts.txt +++ b/app/templates/nestjsPrismaOrm/E2E/__name__/update.spec.ts.txt @@ -2,7 +2,7 @@ import * as request from 'supertest' import { Debug } from '@secjs/logger' import { AppModule } from 'app/AppModule' -import { App, Database } from 'test/Utils' +import { App, Database } from 'tests/Utils' import { <%= namePascal %>Factory } from 'database/factories/<%= namePascal %>Factory' describe('\n[E2E] <%= namePascal %> 🛠', () => { diff --git a/app/templates/nestjsTypeOrm/E2E/__name__/delete.spec.ts.txt b/app/templates/nestjsTypeOrm/E2E/__name__/delete.spec.ts.txt index 7edfd02..e8c926e 100644 --- a/app/templates/nestjsTypeOrm/E2E/__name__/delete.spec.ts.txt +++ b/app/templates/nestjsTypeOrm/E2E/__name__/delete.spec.ts.txt @@ -2,7 +2,7 @@ import * as request from 'supertest' import { Debug } from '@secjs/logger' import { AppModule } from 'app/AppModule' -import { App, Database } from 'test/Utils' +import { App, Database } from 'tests/Utils' import { <%= namePascal %>Factory } from 'database/factories/<%= namePascal %>Factory' describe('\n[E2E] <%= namePascal %> ❌', () => { diff --git a/app/templates/nestjsTypeOrm/E2E/__name__/index.spec.ts.txt b/app/templates/nestjsTypeOrm/E2E/__name__/index.spec.ts.txt index 7060f5a..83eb9a8 100644 --- a/app/templates/nestjsTypeOrm/E2E/__name__/index.spec.ts.txt +++ b/app/templates/nestjsTypeOrm/E2E/__name__/index.spec.ts.txt @@ -2,7 +2,7 @@ import * as request from 'supertest' import { Debug } from '@secjs/logger' import { AppModule } from 'app/AppModule' -import { App, Database } from 'test/Utils' +import { App, Database } from 'tests/Utils' import { <%= namePascal %>Factory } from 'database/factories/<%= namePascal %>Factory' describe('\n[E2E] <%= namePascal %> 🗒', () => { diff --git a/app/templates/nestjsTypeOrm/E2E/__name__/show.spec.ts.txt b/app/templates/nestjsTypeOrm/E2E/__name__/show.spec.ts.txt index 1ec9a37..f2c6ab2 100644 --- a/app/templates/nestjsTypeOrm/E2E/__name__/show.spec.ts.txt +++ b/app/templates/nestjsTypeOrm/E2E/__name__/show.spec.ts.txt @@ -2,7 +2,7 @@ import * as request from 'supertest' import { Debug } from '@secjs/logger' import { AppModule } from 'app/AppModule' -import { App, Database } from 'test/Utils' +import { App, Database } from 'tests/Utils' import { <%= namePascal %>Factory } from 'database/factories/<%= namePascal %>Factory' describe('\n[E2E] <%= namePascal %> 🔍', () => { diff --git a/app/templates/nestjsTypeOrm/E2E/__name__/store.spec.ts.txt b/app/templates/nestjsTypeOrm/E2E/__name__/store.spec.ts.txt index 8b49c24..9896f07 100644 --- a/app/templates/nestjsTypeOrm/E2E/__name__/store.spec.ts.txt +++ b/app/templates/nestjsTypeOrm/E2E/__name__/store.spec.ts.txt @@ -2,7 +2,7 @@ import * as request from 'supertest' import { Debug } from '@secjs/logger' import { AppModule } from 'app/AppModule' -import { App, Database } from 'test/Utils' +import { App, Database } from 'tests/Utils' describe('\n[E2E] <%= namePascal %> 🧱', () => { it('should create a new <%= nameCamel %>', async () => { diff --git a/app/templates/nestjsTypeOrm/E2E/__name__/update.spec.ts.txt b/app/templates/nestjsTypeOrm/E2E/__name__/update.spec.ts.txt index 15652a8..676f2f9 100644 --- a/app/templates/nestjsTypeOrm/E2E/__name__/update.spec.ts.txt +++ b/app/templates/nestjsTypeOrm/E2E/__name__/update.spec.ts.txt @@ -2,7 +2,7 @@ import * as request from 'supertest' import { Debug } from '@secjs/logger' import { AppModule } from 'app/AppModule' -import { App, Database } from 'test/Utils' +import { App, Database } from 'tests/Utils' import { <%= namePascal %>Factory } from 'database/factories/<%= namePascal %>Factory' describe('\n[E2E] <%= namePascal %> 🛠', () => { diff --git a/package.json b/package.json index 3138609..599c90a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "generator-secjs", - "version": "1.2.4", + "version": "1.2.5", "description": "🧬 Generator for any NodeJS Project or Framework", "main": "app/index.js", "scripts": {