mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-09-18 01:19:24 +00:00
Fix test
This commit is contained in:
parent
7e6fe58d2d
commit
d1fb7d2e5d
@ -91,7 +91,6 @@ describe('useRotateOperation', () => {
|
|||||||
test.each([
|
test.each([
|
||||||
{ property: 'toolType' as const, expectedValue: ToolType.singleFile },
|
{ property: 'toolType' as const, expectedValue: ToolType.singleFile },
|
||||||
{ property: 'endpoint' as const, expectedValue: '/api/v1/general/rotate-pdf' },
|
{ property: 'endpoint' as const, expectedValue: '/api/v1/general/rotate-pdf' },
|
||||||
{ property: 'filePrefix' as const, expectedValue: 'rotated_' },
|
|
||||||
{ property: 'operationType' as const, expectedValue: 'rotate' }
|
{ property: 'operationType' as const, expectedValue: 'rotate' }
|
||||||
])('should configure $property correctly', ({ property, expectedValue }) => {
|
])('should configure $property correctly', ({ property, expectedValue }) => {
|
||||||
renderHook(() => useRotateOperation());
|
renderHook(() => useRotateOperation());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user