File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ function loadTests({
7272 it ( "exports a callable sum function" , ( ) => {
7373 const exampleAddon =
7474 /* eslint-disable-next-line @typescript-eslint/no-require-imports -- TODO: Determine why a dynamic import doesn't work on Android */
75- require ( "ferric-example" ) as typeof import ( "ferric-example" ) ;
75+ require ( "@react-native-node-api/ ferric-example" ) as typeof import ( "@react-native-node-api/ ferric-example" ) ;
7676 const result = exampleAddon . sum ( 1 , 3 ) ;
7777 if ( result !== 4 ) {
7878 throw new Error ( `Expected 1 + 3 to equal 4, but got ${ result } ` ) ;
Original file line number Diff line number Diff line change 2525 "@react-native-community/cli" : " ^20.0.1" ,
2626 "@react-native-community/cli-platform-android" : " ^20.0.1" ,
2727 "@react-native-community/cli-platform-ios" : " ^20.0.1" ,
28+ "@react-native-node-api/ferric-example" : " *" ,
2829 "@react-native-node-api/node-addon-examples" : " *" ,
2930 "@react-native-node-api/node-tests" : " *" ,
3031 "@react-native/babel-preset" : " 0.81.1" ,
3435 "@types/mocha" : " ^10.0.10" ,
3536 "@types/react" : " ^19.1.0" ,
3637 "concurrently" : " ^9.1.2" ,
37- "ferric-example" : " ^0.1.0" ,
3838 "mocha" : " ^11.6.0" ,
3939 "mocha-remote-cli" : " ^1.13.2" ,
4040 "mocha-remote-react-native" : " ^1.13.2" ,
You can’t perform that action at this time.
0 commit comments