Skip to content

Commit d23fe0b

Browse files
author
Mariusz Pasinski
committed
fix: remove unsupported babel option "naming"
1 parent 5596273 commit d23fe0b

File tree

1 file changed

+3
-3
lines changed
  • packages/react-native-node-api-modules/src/node/babel-plugin

1 file changed

+3
-3
lines changed

packages/react-native-node-api-modules/src/node/babel-plugin/plugin.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ describe("plugin", () => {
6464
};
6565

6666
runTestCase({ resolvedPath: "./addon-1.node", originalPath: "./addon-1.node", inputFile: "./addon-1.js" });
67-
runTestCase({ resolvedPath: "./addon-2.node", originalPath: "./addon-2.node", inputFile: "./addon-2.js", options: { naming: "hash" } });
68-
runTestCase({ resolvedPath: "./addon-1.node", originalPath: "../addon-1.node", inputFile: "./sub-directory/addon-1.js", options: { naming: "hash" } });
69-
runTestCase({ resolvedPath: "./addon-1.node", originalPath: "addon-1", inputFile: "./addon-1-bindings.js", options: { naming: "hash" } });
67+
runTestCase({ resolvedPath: "./addon-2.node", originalPath: "./addon-2.node", inputFile: "./addon-2.js" });
68+
runTestCase({ resolvedPath: "./addon-1.node", originalPath: "../addon-1.node", inputFile: "./sub-directory/addon-1.js" });
69+
runTestCase({ resolvedPath: "./addon-1.node", originalPath: "addon-1", inputFile: "./addon-1-bindings.js" });
7070

7171
{
7272
const result = transformFileSync(

0 commit comments

Comments
 (0)