Skip to content

Commit d2c628b

Browse files
committed
test: fix tests for rewriteing codegenspec imports
1 parent afa26eb commit d2c628b

21 files changed

+47
-40
lines changed

packages/react-native-builder-bob/src/__fixtures__/project/MyNativeComponent.js

Whitespace-only changes.

packages/react-native-builder-bob/src/__fixtures__/project/MyNativeComponent.jsx

Whitespace-only changes.

packages/react-native-builder-bob/src/__fixtures__/project/MyNativeComponent.ts

Whitespace-only changes.

packages/react-native-builder-bob/src/__fixtures__/project/MyNativeComponent.tsx

Whitespace-only changes.

packages/react-native-builder-bob/src/__fixtures__/project/NativeMyLib.js

Whitespace-only changes.

packages/react-native-builder-bob/src/__fixtures__/project/NativeMyLib.jsx

Whitespace-only changes.

packages/react-native-builder-bob/src/__fixtures__/project/NativeMyLib.ts

Whitespace-only changes.

packages/react-native-builder-bob/src/__fixtures__/project/NativeMyLib.tsx

Whitespace-only changes.

packages/react-native-builder-bob/src/__fixtures__/project/code/$exports-input.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@ const bar = "bar";
1919

2020
export { bar };
2121

22-
export * as NativeLibA from "./MyNativeLib";
23-
export * as NativeLibB from "../MyNativeLib";
24-
export * as NativeLibC from "./MyNativeLib.ts";
25-
export * as NativeLibD from "../MyNativeLib.ts";
26-
export * as NativeLibE from "./MyNativeLib.tsx";
27-
export * as NativeLibF from "../MyNativeLib.tsx";
28-
export * as NativeLibG from "./MyNativeLib.js";
29-
export * as NativeLibH from "../MyNativeLib.js";
30-
export * as NativeLibI from "./MyNativeLib.jsx";
31-
export * as NativeLibJ from "../MyNativeLib.jsx";
22+
export * as NativeLibA from "./NativeMyLib";
23+
export * as NativeLibB from "../NativeMyLib";
24+
export * as NativeLibC from "./NativeMyLib.ts";
25+
export * as NativeLibD from "../NativeMyLib.ts";
26+
export * as NativeLibE from "./NativeMyLib.tsx";
27+
export * as NativeLibF from "../NativeMyLib.tsx";
28+
export * as NativeLibG from "./NativeMyLib.js";
29+
export * as NativeLibH from "../NativeMyLib.js";
30+
export * as NativeLibI from "./NativeMyLib.jsx";
31+
export * as NativeLibJ from "../NativeMyLib.jsx";
3232

3333
export * as NativeViewA from "./MyNativeComponent";
3434
export * as NativeViewB from "../MyNativeComponent";

packages/react-native-builder-bob/src/__fixtures__/project/code/$exports-output.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@ export type { A } from "./a";
1313
export const foo = "foo";
1414
const bar = "bar";
1515
export { bar };
16-
export * as NativeLibA from "./MyNativeLib";
17-
export * as NativeLibB from "../MyNativeLib";
18-
export * as NativeLibC from "./MyNativeLib.ts";
19-
export * as NativeLibD from "../MyNativeLib.ts";
20-
export * as NativeLibE from "./MyNativeLib.tsx";
21-
export * as NativeLibF from "../MyNativeLib.tsx";
22-
export * as NativeLibG from "./MyNativeLib.js";
23-
export * as NativeLibH from "../MyNativeLib.js";
24-
export * as NativeLibI from "./MyNativeLib.jsx";
25-
export * as NativeLibJ from "../MyNativeLib.jsx";
16+
export * as NativeLibA from "./NativeMyLib";
17+
export * as NativeLibB from "../NativeMyLib";
18+
export * as NativeLibC from "./NativeMyLib.ts";
19+
export * as NativeLibD from "../NativeMyLib.ts";
20+
export * as NativeLibE from "./NativeMyLib.tsx";
21+
export * as NativeLibF from "../NativeMyLib.tsx";
22+
export * as NativeLibG from "./NativeMyLib.js";
23+
export * as NativeLibH from "../NativeMyLib.js";
24+
export * as NativeLibI from "./NativeMyLib.jsx";
25+
export * as NativeLibJ from "../NativeMyLib.jsx";
2626
export * as NativeViewA from "./MyNativeComponent";
2727
export * as NativeViewB from "../MyNativeComponent";
2828
export * as NativeViewC from "./MyNativeComponent.ts";

0 commit comments

Comments
 (0)