Skip to content

Commit 73b83e3

Browse files
committed
test: @putout/plugin-react-router: add versions
1 parent 38b3548 commit 73b83e3

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed

packages/plugin-react-router/test/fixture/convert-component-to-element-fix.js renamed to packages/plugin-react-router/test/fixture/v6-convert-component-to-element-fix.js

File renamed without changes.

packages/plugin-react-router/test/fixture/convert-component-to-element.js renamed to packages/plugin-react-router/test/fixture/v6-convert-component-to-element.js

File renamed without changes.

packages/plugin-react-router/test/fixture/convert-switch-to-routes-fix.js renamed to packages/plugin-react-router/test/fixture/v6-convert-switch-to-routes-fix.js

File renamed without changes.

packages/plugin-react-router/test/fixture/convert-switch-to-routes.js renamed to packages/plugin-react-router/test/fixture/v6-convert-switch-to-routes.js

File renamed without changes.

packages/plugin-react-router/test/react-router.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ const test = createTest(__dirname, {
99
],
1010
});
1111

12-
test('plugin-react-hooks: transform: convert-switch-to-routes', (t) => {
13-
t.transform('convert-switch-to-routes');
12+
test('plugin-react-hooks: transform: v6-convert-switch-to-routes', (t) => {
13+
t.transform('v6-convert-switch-to-routes');
1414
t.end();
1515
});
1616

17-
test('plugin-react-hooks: transform: convert-component-to-element', (t) => {
18-
t.transform('convert-component-to-element');
17+
test('plugin-react-hooks: transform: v6-convert-component-to-element', (t) => {
18+
t.transform('v6-convert-component-to-element');
1919
t.end();
2020
});
2121

0 commit comments

Comments
 (0)