Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@przemyslawwalczak/nestjs-jest-toolbox

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@przemyslawwalczak/nestjs-jest-toolbox - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

7

CHANGELOG.md
## [1.1.1](https://github.com/przemyslawwalczak/nestjs-jest-toolbox/compare/1.1.0...1.1.1) (2024-01-07)
### Bug Fixes
* formatting ([060527b](https://github.com/przemyslawwalczak/nestjs-jest-toolbox/commit/060527b97153ff86c395f60ff69dcf78ae569778))
## 1.1.0 (2024-01-07)

@@ -4,0 +11,0 @@

14

lib/interface/context.ts

@@ -5,11 +5,11 @@ import { INestApplication, ModuleMetadata } from '@nestjs/common'

export type TestToolkitSetup = {
teardown?: 'all' | 'each'
metadata: ModuleMetadata
withBuilder?: (builder: TestingModuleBuilder) => void | Promise<void>
withTestingModule?: (module: TestingModule) => void | Promise<void>
withApplication?: (app: INestApplication) => void | Promise<void>
teardown?: 'all' | 'each';
metadata: ModuleMetadata;
withBuilder?: (builder: TestingModuleBuilder) => void | Promise<void>;
withTestingModule?: (module: TestingModule) => void | Promise<void>;
withApplication?: (app: INestApplication) => void | Promise<void>;
}
export interface TestToolkitFixture {
builder: TestingModuleBuilder
}
builder: TestingModuleBuilder;
}

@@ -52,2 +52,3 @@ import request from 'supertest'

app: {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
get: <T = any>(token: NestModuleTokens<T>) => app.get<T>(token)

@@ -54,0 +55,0 @@ },

@@ -0,0 +0,0 @@ import { Type } from '@nestjs/common'

{
"name": "@przemyslawwalczak/nestjs-jest-toolbox",
"version": "1.1.0",
"version": "1.1.1",
"main": "dist/index.js",

@@ -30,2 +30,4 @@ "types": "dist/index.d.ts",

"@types/supertest": "6.0.2",
"@typescript-eslint/eslint-plugin": "6.18.0",
"@typescript-eslint/parser": "6.18.0",
"eslint": "8.52.0",

@@ -32,0 +34,0 @@ "eslint-config-codemask": "1.1.7",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc