Skip to content

Commit 8cc6a3c

Browse files
committed
fix: config service import
1 parent adf90f7 commit 8cc6a3c

3 files changed

Lines changed: 2 additions & 11 deletions

File tree

packages/core/tests/helpers/arrayHelper.spec.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ jest.mock('../../lib/config/service');
55
describe('Array Helper', () => {
66
beforeEach(async () => {});
77

8-
// it('should throw exception', () => {
9-
// const arr = {};
10-
// expect(Arr.toObj(arr as [], [])).toThrow(InvalidValue);
11-
// });
128

139
it('should return object', () => {
1410
const arr = [

packages/core/tests/helpers/numberHelper.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Num } from '../../lib';
22

3-
jest.mock('../../../lib/config/service');
3+
jest.mock('../../lib/config/service');
44

55
describe('Numbers Helper', () => {
66
beforeEach(async () => {});

packages/core/tests/helpers/objectHelper.spec.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
11
import { InvalidValue } from '../../lib';
22
import { Obj } from '../../lib';
33

4-
jest.mock('../../config/service');
4+
jest.mock('../../lib/config/service');
55

66
describe('Object Helper', () => {
77
beforeEach(async () => {});
88

9-
// it('should throw exception', () => {
10-
// const arr = {};
11-
// expect(Arr.toObj(arr as [], [])).toThrow(InvalidValue);
12-
// });
13-
149
it('should return flattened object with dot notation', () => {
1510
const obj = {
1611
product: { price: 20, tags: [{ name: 'good' }] },

0 commit comments

Comments
 (0)