Skip to content

Commit c9c3e1f

Browse files
authored
chore(deps): upgrading node pkg dependencies (#377)
* chore(deps-dev): upgrading prettier, eslint, and eslint-config * chore(deps-dev): bumping multer * chore(deps-dev): removing @typescript-eslint/parser as a dev dep * style: fixing eslint issues * fix: cleaning up the jest config so jest-haste-map doesnt error * chore(deps-dev): bumping ts-jest * chore(deps-dev): bumping body-parser * chore(deps-dev): bumping jest * chore(deps): bumping node-fetch * fix: excluding the dist from jest * chore(deps-dev): upgrading typescript to 4.6 * chore(deps-dev): bumping nock
1 parent 95ef499 commit c9c3e1f

10 files changed

+3205
-5158
lines changed

package-lock.json

+817-1,000
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/node/__tests__/jest.setup.js

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
process.env.NODE_ENV = 'testing';
22

3+
// eslint-disable-next-line @typescript-eslint/no-empty-function
34
module.exports = () => {};

packages/node/jest.config.js

+8-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
22
module.exports = {
3+
coveragePathIgnorePatterns: ['dist/'],
4+
globals: {
5+
'ts-jest': {
6+
tsconfig: '__tests__/tsconfig.json',
7+
},
8+
},
9+
globalSetup: '<rootDir>/__tests__/jest.setup.js',
10+
modulePathIgnorePatterns: ['<rootDir>/dist'],
311
preset: 'ts-jest',
412
testEnvironment: 'node',
5-
globalSetup: '<rootDir>/__tests__/jest.setup.js',
613
testMatch: ['**/__tests__/**/(*.)+(spec|test).[jt]s?(x)', '**/?(*.)+(spec|test).[jt]s?(x)'],
7-
coveragePathIgnorePatterns: ['dist/'],
814
};

0 commit comments

Comments
 (0)