Skip to content
Merged
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
3 changes: 2 additions & 1 deletion tfjs-layers/src/layers/preprocessing/image_resizing_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ describeMathCPUAndGPU('Resizing Layer', () => {
const incorrectArgs = {height, width, interpolation};
const expectedError =
`Invalid interpolation parameter: ${interpolation} is not implemented`;
expect(() => new Resizing(incorrectArgs as ResizingArgs)).toThrowError(expectedError);
expect(() => new Resizing(incorrectArgs as ResizingArgs))
.toThrowError(expectedError);
});

it('Config holds correct name', () => {
Expand Down