@newt-app/templates 0.18.6 → 0.18.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +3 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -888,7 +888,7 @@ var tsconfig_default2 = {
888
888
  "noImplicitAny": false,
889
889
  "strictBindCallApply": false,
890
890
  "noFallthroughCasesInSwitch": false,
891
- "types": [<% if (testing === 'jest') { %>"jest", <% } %>"node"]
891
+ "types": [<% if (testing === 'jest') { %>"jest", <% } %><% if (testing === 'vitest') { %>"vitest/globals", <% } %>"node"]
892
892
  },
893
893
  "exclude": ["vitest.config.ts", "vitest.config.e2e.ts", "node_modules", "dist"]
894
894
  }`
@@ -10268,6 +10268,7 @@ var app_controller_spec_default = {
10268
10268
  filename: "apps/api/src/app.controller.spec.ts",
10269
10269
  template: `import { Test, TestingModule } from '@nestjs/testing';
10270
10270
  import { AppController } from './app.controller';
10271
+ import { AppService } from './app.service';
10271
10272
 
10272
10273
  describe('AppController', () => {
10273
10274
  let appController: AppController;
@@ -10275,6 +10276,7 @@ describe('AppController', () => {
10275
10276
  beforeEach(async () => {
10276
10277
  const app: TestingModule = await Test.createTestingModule({
10277
10278
  controllers: [AppController],
10279
+ providers: [AppService],
10278
10280
  }).compile();
10279
10281
 
10280
10282
  appController = app.get<AppController>(AppController);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newt-app/templates",
3
- "version": "0.18.6",
3
+ "version": "0.18.8",
4
4
  "private": false,
5
5
  "description": "Templates for newt-app",
6
6
  "type": "module",