@@ -24,7 +24,7 @@ namespace ts {
2424 export declare function actionCreatorFactory(prefix?: string | null): ActionCreatorFactory;
2525 export default actionCreatorFactory;` ;
2626 return loadProjectFromFiles ( {
27- "/plugin-two/index.d.ts" : utils . dedent `
27+ "/src/ plugin-two/index.d.ts" : utils . dedent `
2828 declare const _default: {
2929 features: {
3030 featureOne: {
@@ -46,28 +46,28 @@ namespace ts {
4646 };
4747 };
4848 export default _default;` ,
49- "/plugin-two/node_modules/typescript-fsa/package.json" : fsaPackageJson ,
50- "/plugin-two/node_modules/typescript-fsa/index.d.ts" : fsaIndex ,
51- "/plugin-one/tsconfig.json" : utils . dedent `
49+ "/src/ plugin-two/node_modules/typescript-fsa/package.json" : fsaPackageJson ,
50+ "/src/ plugin-two/node_modules/typescript-fsa/index.d.ts" : fsaIndex ,
51+ "/src/ plugin-one/tsconfig.json" : utils . dedent `
5252 {
5353 "compilerOptions": {
5454 "target": "es5",
5555 "declaration": true,
5656 },
5757 }` ,
58- "/plugin-one/index.ts" : utils . dedent `
58+ "/src/ plugin-one/index.ts" : utils . dedent `
5959 import pluginTwo from "plugin-two"; // include this to add reference to symlink` ,
60- "/plugin-one/action.ts" : utils . dedent `
60+ "/src/ plugin-one/action.ts" : utils . dedent `
6161 import { actionCreatorFactory } from "typescript-fsa"; // Include version of shared lib
6262 const action = actionCreatorFactory("somekey");
6363 const featureOne = action<{ route: string }>("feature-one");
6464 export const actions = { featureOne };` ,
65- "/plugin-one/node_modules/typescript-fsa/package.json" : fsaPackageJson ,
66- "/plugin-one/node_modules/typescript-fsa/index.d.ts" : fsaIndex ,
67- "/plugin-one/node_modules/plugin-two" : new vfs . Symlink ( "/plugin-two" ) ,
65+ "/src/ plugin-one/node_modules/typescript-fsa/package.json" : fsaPackageJson ,
66+ "/src/ plugin-one/node_modules/typescript-fsa/index.d.ts" : fsaIndex ,
67+ "/src/ plugin-one/node_modules/plugin-two" : new vfs . Symlink ( "/src /plugin-two" ) ,
6868 } ) ;
6969 } ,
70- commandLineArgs : [ "-p" , "plugin-one" , "--listFiles" ]
70+ commandLineArgs : [ "-p" , "src/ plugin-one" , "--listFiles" ]
7171 } ) ;
7272 } ) ;
7373}
0 commit comments