Skip to content

Commit

Permalink
chore: coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Zork33 committed Oct 23, 2023
1 parent 0a94a3d commit ffa1610
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions config/jest.coverage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ import config from './jest.config.unit';
* https://jestjs.io/docs/configuration
*/

console.info(1000, config)

module.exports = {
...config,
collectCoverage: true,
Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/unit/ydbSdkContext.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ describe('ydbSdkConext', () => {
expect(testLoggerFn.mock.calls).toEqual([['trace', 'method1'], ['trace', 'method2']]);
});

it('get - ok', async () => {
it('get - error', async () => {
expect(() => YdbSdkContext.get('method')).toThrow();
});
});

0 comments on commit ffa1610

Please sign in to comment.