Update tamagui monorepo to ^1.144.2 #511
node.js.yml
on: pull_request
lint
1m 13s
types
1m 2s
Matrix: test
Annotations
11 errors
|
types
Process completed with exit code 1.
|
|
types
Type '(event: RNMouseEvent) => void' is not assignable to type '(event: MouseEvent<HTMLElement, MouseEvent>) => void'.
|
|
types
Type '(event: RNMouseEvent) => void' is not assignable to type '(event: MouseEvent<HTMLElement, MouseEvent>) => void'.
|
|
types
Argument of type 'Readonly<{ bubbles: boolean | undefined; cancelable: boolean | undefined; currentTarget: number | ReactNativeElement; defaultPrevented: boolean | undefined; dispatchConfig: Readonly<...>; ... 10 more ...; type: string | undefined; }>' is not assignable to parameter of type 'MouseEvent<HTMLElement, MouseEvent>'.
|
|
types
Argument of type 'Readonly<{ bubbles: boolean | undefined; cancelable: boolean | undefined; currentTarget: number | ReactNativeElement; defaultPrevented: boolean | undefined; dispatchConfig: Readonly<...>; ... 10 more ...; type: string | undefined; }>' is not assignable to parameter of type 'MouseEvent<HTMLElement, MouseEvent>'.
|
|
test (24.x)
Process completed with exit code 1.
|
|
packages/components/src/Text/Text.test.tsx > Text > prop "onPress" > is not called if "onClick" is provided:
packages/components/src/Text/Text.test.tsx#L292
AssertionError: expected "vi.fn()" to not be called at all, but actually been called 1 times
Received:
1st vi.fn() call:
Array [
SyntheticBaseEvent {
"_reactName": "onClick",
"_targetInst": null,
"altKey": false,
"bubbles": true,
"button": 0,
"buttons": 0,
"cancelable": true,
"clientX": 0,
"clientY": 0,
"ctrlKey": false,
"currentTarget": null,
"defaultPrevented": false,
"detail": 0,
"eventPhase": 3,
"getModifierState": [Function modifierStateGetter],
"isDefaultPrevented": [Function functionThatReturnsFalse],
"isPropagationStopped": [Function functionThatReturnsTrue],
"isTrusted": false,
"metaKey": false,
"movementX": 0,
"movementY": 0,
"nativeEvent": MouseEvent {
"isTrusted": false,
},
"pageX": 0,
"pageY": 0,
"relatedTarget": null,
"screenX": 0,
"screenY": 0,
"shiftKey": false,
"target": <div
class="css-11rlf8r"
dir="auto"
/>,
"timeStamp": 1767650563185,
"type": "click",
"view": null,
},
]
Number of calls: 1
❯ packages/components/src/Text/Text.test.tsx:292:27
|
|
test (22.x)
The strategy configuration was canceled because "test._24_x" failed
|
|
test (22.x)
The operation was canceled.
|
|
test (20.x)
The strategy configuration was canceled because "test._24_x" failed
|
|
test (20.x)
The operation was canceled.
|