Skip to content

Commit 344a875

Browse files
committed
add changes
1 parent 9aedc44 commit 344a875

File tree

4 files changed

+3
-16
lines changed

4 files changed

+3
-16
lines changed

.github/workflows/check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,9 @@ jobs:
133133
- name: Build weak-node-api for all architectures
134134
run: npm run build-weak-node-api -- --android
135135
working-directory: packages/host
136-
- name: Build ferric-example for all architectures
136+
- name: Build lib_in_rust for android architectures
137137
run: npm run build -- --android
138-
working-directory: packages/ferric-example
138+
working-directory: packages/apps/test-app/lib_in_rust
139139
- name: Run tests (Android)
140140
timeout-minutes: 75
141141
uses: reactivecircus/android-emulator-runner@v2

apps/test-app/App.tsx

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -45,17 +45,6 @@ function loadTests({
4545
});
4646
}
4747
});
48-
49-
describeIf(ferricExample, "ferric-example", () => {
50-
it("exports a callable sum function", () => {
51-
/* eslint-disable-next-line @typescript-eslint/no-require-imports -- TODO: Determine why a dynamic import doesn't work on Android */
52-
const exampleAddon = require("ferric-example");
53-
const result = exampleAddon.sum(1, 3);
54-
if (result !== 4) {
55-
throw new Error(`Expected 1 + 3 to equal 4, but got ${result}`);
56-
}
57-
});
58-
});
5948
}
6049

6150
export default function App() {

eslint.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ export default tseslint.config(
1212
"apps/test-app/ios/**",
1313
"packages/host/hermes/**",
1414
"packages/node-addon-examples/examples/**",
15-
"packages/ferric-example/ferric_example.d.ts",
1615
]),
1716
eslint.configs.recommended,
1817
tseslint.configs.recommended,

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
"packages/cmake-rn",
1010
"packages/ferric",
1111
"packages/host",
12-
"packages/node-addon-examples",
13-
"packages/ferric-example"
12+
"packages/node-addon-examples"
1413
],
1514
"homepage": "https://github.com/callstackincubator/react-native-node-api#readme",
1615
"scripts": {

0 commit comments

Comments
 (0)