Skip to content

Commit a710859

Browse files
committed
add lint to examples/basic
1 parent c4514e1 commit a710859

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

examples/basic/components/__tests__/AnimatedView.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ describe('AnimatedView', () => {
3333
);
3434
expect(screen.root).toHaveStyle({ opacity: 0 });
3535

36-
await act(() => jest.advanceTimersByTime(250));
36+
await act(() => jest.advanceTimersByTimeAsync(250));
3737
expect(screen.root).toHaveStyle({ opacity: 1 });
3838
});
3939
});

examples/basic/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"@testing-library/react-native": "^14.0.0-beta.0",
2525
"@types/jest": "^29.5.12",
2626
"@types/react": "~19.1.10",
27-
"eslint": "^9.0.0",
27+
"eslint": "9.39.2",
2828
"eslint-plugin-testing-library": "^7.1.1",
2929
"jest": "^29.7.0",
3030
"test-renderer": "0.14.0",

examples/basic/yarn.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3941,7 +3941,7 @@ __metadata:
39413941
languageName: node
39423942
linkType: hard
39433943

3944-
"eslint@npm:^9.0.0":
3944+
"eslint@npm:9.39.2":
39453945
version: 9.39.2
39463946
resolution: "eslint@npm:9.39.2"
39473947
dependencies:
@@ -7378,7 +7378,7 @@ __metadata:
73787378
"@testing-library/react-native": "npm:^14.0.0-beta.0"
73797379
"@types/jest": "npm:^29.5.12"
73807380
"@types/react": "npm:~19.1.10"
7381-
eslint: "npm:^9.0.0"
7381+
eslint: "npm:9.39.2"
73827382
eslint-plugin-testing-library: "npm:^7.1.1"
73837383
expo: "npm:^54.0.32"
73847384
expo-status-bar: "npm:~3.0.9"

0 commit comments

Comments
 (0)