Skip to content

Commit 33e1e3a

Browse files
authored
Merge pull request #47 from objectstack-ai/copilot/fix-ci-errors
2 parents 6dcc39a + 227df00 commit 33e1e3a

File tree

4 files changed

+4
-12
lines changed

4 files changed

+4
-12
lines changed

__tests__/e2e/record-crud.e2e.test.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
* the MSW mock API to simulate real backend interactions.
66
*/
77
import { server } from "../msw/server";
8-
import { sampleRecords } from "../msw/handlers";
98

109
/* ---- Start / stop MSW server ---- */
1110
beforeAll(() => server.listen({ onUnhandledRequest: "bypass" }));

__tests__/e2e/record-list.e2e.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* tapping an app navigates to the correct route.
66
*/
77
import React from "react";
8-
import { render, fireEvent, waitFor } from "@testing-library/react-native";
8+
import { render, fireEvent } from "@testing-library/react-native";
99

1010
/* ---- Mocks ---- */
1111

app/(tabs)/search.tsx

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,9 @@
1-
import { View, Text, FlatList, TouchableOpacity } from "react-native";
1+
import { View, Text, TouchableOpacity } from "react-native";
22
import { SafeAreaView } from "react-native-safe-area-context";
33
import { Search as SearchIcon, Clock, X } from "lucide-react-native";
44
import { Input } from "~/components/ui/Input";
55
import { useState, useCallback } from "react";
66

7-
interface SearchResult {
8-
id: string;
9-
title: string;
10-
subtitle?: string;
11-
object?: string;
12-
}
13-
147
export default function SearchScreen() {
158
const [query, setQuery] = useState("");
169
const [recentSearches, setRecentSearches] = useState<string[]>([]);

lib/accessibility.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ export interface A11yFocusConfig {
1919
* Announce a message for screen readers
2020
*/
2121
export function announce(
22-
message: string,
23-
priority: "polite" | "assertive" = "polite",
22+
_message: string,
23+
_priority: "polite" | "assertive" = "polite",
2424
): void {
2525
// In real implementation, this would call AccessibilityInfo.announceForAccessibility
2626
// For now, a no-op that tests can verify was called

0 commit comments

Comments
 (0)