From 6914b12735fe900dafb5b1c8c660d9ef6ce15e3a Mon Sep 17 00:00:00 2001 From: TmTron Date: Thu, 20 Aug 2020 08:17:55 +0200 Subject: [PATCH] feat(@nestjs/swagger): use default name for jest config Renamed `jest.json` to `jest.config.json`, so that IDEs can find the config Fixes #914 --- .npmignore | 2 +- jest.json => jest.config.json | 0 package.json | 4 ++-- 3 files changed, 3 insertions(+), 3 deletions(-) rename jest.json => jest.config.json (100%) diff --git a/.npmignore b/.npmignore index 4bf0e55c8..a27f6d3a6 100644 --- a/.npmignore +++ b/.npmignore @@ -4,7 +4,7 @@ sample test e2e -jest.json +jest.config.json index.ts plugin.ts package-lock.json diff --git a/jest.json b/jest.config.json similarity index 100% rename from jest.json rename to jest.config.json diff --git a/package.json b/package.json index 49ea26d00..67ef274ed 100644 --- a/package.json +++ b/package.json @@ -13,8 +13,8 @@ "publish:next": "npm publish --access public --tag next", "prepublish:npm": "npm run build", "publish:npm": "npm publish --access public", - "test": "jest --config jest.json", - "test:dev": "jest --config jest.json --watch", + "test": "jest", + "test:dev": "jest --watch", "test:e2e": "jest --config e2e/jest-e2e.json", "prerelease": "npm run build", "release": "release-it"