Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
129 changes: 112 additions & 17 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions packages/functions-utils/tests/main.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,7 @@ test('Should overwrite dist file if it already exists', async () => {
test('Should allow "fail" option to customize failures', async () => {
const fail = vi.fn() as any
await add(undefined, undefined, { fail })
expect(fail).toHaveBeenCalledOnce()
expect(fail).toHaveBeenCalledWith('No function source directory was specified')
expect(fail).toHaveBeenCalledExactlyOnceWith('No function source directory was specified')
})

const normalizeFiles = function (
Expand Down
Loading