Skip to content

Commit

Permalink
test(core): Update test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
Meqn committed Jan 3, 2024
1 parent 49ba71e commit cb2deb0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/core/__tests__/build.comm.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ jest.mock('@pipflow/utils', () => ({
lastRun: jest.fn(),
dest: jest.fn()
},
_: {
isPlainObject: arg => Object.prototype.toString.call(arg) === '[object Object]'
},
isPlainObject: arg => Object.prototype.toString.call(arg) === '[object Object]',
readJsonFilesSync: jest.fn().mockReturnValueOnce({ '1.js': 'abc.js' })
}))

Expand Down

0 comments on commit cb2deb0

Please sign in to comment.