diff --git a/.gitea/workflows/tests.yaml b/.gitea/workflows/tests.yaml index 3b4f6a0..4461b52 100644 --- a/.gitea/workflows/tests.yaml +++ b/.gitea/workflows/tests.yaml @@ -22,4 +22,4 @@ jobs: - name: typecheck run: nix develop --impure --command bash -c 'export HOME=$PWD; yarn tsc --noEmit' - name: test - run: nix develop --impure --command bash -c 'export HOME=$PWD; yarn run test' + run: nix develop --impure --command bash -c 'export HOME=$PWD; yarn run test --no-watchman' diff --git a/App.tsx b/App.tsx new file mode 100644 index 0000000..f0d664d --- /dev/null +++ b/App.tsx @@ -0,0 +1,14 @@ +import React from "react"; +import { SafeAreaView, Text } from "react-native"; + + +const App: React.FC = () => { + return ( + + Hello, World! + + ); +}; + + +export default App; diff --git a/tests/App.test.js b/tests/App.test.tsx similarity index 90% rename from tests/App.test.js rename to tests/App.test.tsx index a18a4a9..f2d91c3 100644 --- a/tests/App.test.js +++ b/tests/App.test.tsx @@ -1,7 +1,7 @@ import React from "react"; import renderer from "react-test-renderer"; -import App from "./App"; +import App from "../App"; describe("", () => {