Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixit/branched main #17

Open
wants to merge 12 commits into
base: fixit/main
Choose a base branch
from
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ module.exports = {
'require-jsdoc': 'error',
},
};

4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# A wrapper to provide different functions for communication over different protocols between internal services.
# Communication Wrapper

A wrapper to provide different functions for communication over different protocols between internal services.
5 changes: 0 additions & 5 deletions index.js

This file was deleted.

58 changes: 58 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
verbose: true,
bail: true,
clearMocks: true,
silent: true,
collectCoverageFrom: ['./src/**/*.{js,ts}'],
collectCoverage: true,
coverageReporters: ['json-summary', 'json', 'html'],
testLocationInResults: true,
testMatch: ['**/tests/**'],
json: true,
reporters: ['jest-junit', 'default'],
globals: {
'ts-jest': {
isolatedModules: true,
},
},
rootDir: './',
moduleNameMapper: {
'^@app/(.*)$': '<rootDir>/src/$1',
'^@tests/(.*)$': '<rootDir>/tests/$1',
},
maxWorkers: 4,
maxConcurrency: 4,
coveragePathIgnorePatterns: [
'<rootDir>/src/bootstrap',
'<rootDir>/src/apps',
'<rootDir>/src/config',
'<rootDir>/src/core',
'<rootDir>/src/errors',
'<rootDir>/src/main.ts',
'<rootDir>/src/types.ts',
'<rootDir>/src/routes',
'<rootDir>/src/models',
'<rootDir>/src/utils',
'<rootDir>/src/domains/app.ts',
'<rootDir>/src/domains/user.ts',
'<rootDir>/src/middlewares',
'<rootDir>/src/controllers/404.controller.ts',
'<rootDir>/src/controllers/base.controller.ts',
'<rootDir>/src/controllers/factory.controller.ts',
'<rootDir>/src/controllers/http.controller.ts',
'<rootDir>/src/controllers/kafka.controller.ts',
'<rootDir>/src/controllers/meta.controller.ts',
'<rootDir>/src/controllers/index.ts',
'<rootDir>/src/controllers/helpers.ts',
'<rootDir>/src/domains/user',
'<rootDir>/src/domains/subscription',
'<rootDir>/src/domains/question/utils.ts',
'<rootDir>/src/helpers',
'<rootDir>/src/domains/question/structure/index.ts',
'<rootDir>/src/services/context-storage.service.ts',
'<rootDir>/src/static',
],
};
249 changes: 249 additions & 0 deletions junit.xml

Large diffs are not rendered by default.

Loading