Skip to content

Commit 91e2fb6

Browse files
committed
fix: prettier formatting in harness tests
1 parent 2301e09 commit 91e2fb6

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

example/__tests__/useViewModelInstance-e2e.harness.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,12 @@ type VMICtx = {
4141
};
4242

4343
function createCtx(): VMICtx {
44-
return { instance: null, instanceName: undefined, id: undefined, renderCount: 0 };
44+
return {
45+
instance: null,
46+
instanceName: undefined,
47+
id: undefined,
48+
renderCount: 0,
49+
};
4550
}
4651

4752
// ── ViewModel source components ──────────────────────────────────────

example/__tests__/viewmodel-properties.harness.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,10 @@ describe('ViewModel Properties', () => {
9999
// Most backends reject invalid enum values; the value should revert to 'cat'
100100
// Android legacy SDK accepts them (reads back 'snakeLizard')
101101
const val = enumProperty.value;
102-
if (Platform.OS === 'android' && RiveFileFactory.getBackend() === 'legacy') {
102+
if (
103+
Platform.OS === 'android' &&
104+
RiveFileFactory.getBackend() === 'legacy'
105+
) {
103106
expect(val === 'cat' || val === 'snakeLizard').toBe(true);
104107
} else {
105108
expect(val).toBe('cat');

0 commit comments

Comments
 (0)