@@ -643,15 +643,15 @@ describe("aliased import transforms", () => {
643643 it ( "should transform aliased action import where local name is action" , ( ) => {
644644 const result = injectContext (
645645 `
646- import { myLoaderyAction as action } from "./actions";
646+ import { myLoaderAction as action } from "./actions";
647647 export { action };
648648 ` ,
649649 "test" ,
650650 "/file/path"
651651 )
652652 const expected = removeWhitespace ( `
653653 import { withActionContextWrapper as _withActionContextWrapper } from "react-router-devtools/context";
654- import { myLoaderyAction as _action } from "./actions";
654+ import { myLoaderAction as _action } from "./actions";
655655 export const action = _withActionContextWrapper(_action, "test");
656656 ` )
657657 expect ( removeWhitespace ( result . code ) ) . toStrictEqual ( expected )
@@ -660,15 +660,15 @@ describe("aliased import transforms", () => {
660660 it ( "should transform aliased clientLoader import where local name is clientLoader" , ( ) => {
661661 const result = injectContext (
662662 `
663- import { myLoaderyClientLoader as clientLoader } from "./loaders";
663+ import { myLoaderClientLoader as clientLoader } from "./loaders";
664664 export { clientLoader };
665665 ` ,
666666 "test" ,
667667 "/file/path"
668668 )
669669 const expected = removeWhitespace ( `
670670 import { withClientLoaderContextWrapper as _withClientLoaderContextWrapper } from "react-router-devtools/context";
671- import { myLoaderyClientLoader as _clientLoader } from "./loaders";
671+ import { myLoaderClientLoader as _clientLoader } from "./loaders";
672672 export const clientLoader = _withClientLoaderContextWrapper(_clientLoader, "test");
673673 ` )
674674 expect ( removeWhitespace ( result . code ) ) . toStrictEqual ( expected )
@@ -677,15 +677,15 @@ describe("aliased import transforms", () => {
677677 it ( "should transform aliased clientAction import where local name is clientAction" , ( ) => {
678678 const result = injectContext (
679679 `
680- import { myLoaderyClientAction as clientAction } from "./actions";
680+ import { myLoaderClientAction as clientAction } from "./actions";
681681 export { clientAction };
682682 ` ,
683683 "test" ,
684684 "/file/path"
685685 )
686686 const expected = removeWhitespace ( `
687687 import { withClientActionContextWrapper as _withClientActionContextWrapper } from "react-router-devtools/context";
688- import { myLoaderyClientAction as _clientAction } from "./actions";
688+ import { myLoaderClientAction as _clientAction } from "./actions";
689689 export const clientAction = _withClientActionContextWrapper(_clientAction, "test");
690690 ` )
691691 expect ( removeWhitespace ( result . code ) ) . toStrictEqual ( expected )
0 commit comments