@@ -24,7 +24,7 @@ namespace ts {
24
24
export declare function actionCreatorFactory(prefix?: string | null): ActionCreatorFactory;
25
25
export default actionCreatorFactory;` ;
26
26
return loadProjectFromFiles ( {
27
- "/plugin-two/index.d.ts" : utils . dedent `
27
+ "/src/ plugin-two/index.d.ts" : utils . dedent `
28
28
declare const _default: {
29
29
features: {
30
30
featureOne: {
@@ -46,28 +46,28 @@ namespace ts {
46
46
};
47
47
};
48
48
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 `
52
52
{
53
53
"compilerOptions": {
54
54
"target": "es5",
55
55
"declaration": true,
56
56
},
57
57
}` ,
58
- "/plugin-one/index.ts" : utils . dedent `
58
+ "/src/ plugin-one/index.ts" : utils . dedent `
59
59
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 `
61
61
import { actionCreatorFactory } from "typescript-fsa"; // Include version of shared lib
62
62
const action = actionCreatorFactory("somekey");
63
63
const featureOne = action<{ route: string }>("feature-one");
64
64
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" ) ,
68
68
} ) ;
69
69
} ,
70
- commandLineArgs : [ "-p" , "plugin-one" , "--listFiles" ]
70
+ commandLineArgs : [ "-p" , "src/ plugin-one" , "--listFiles" ]
71
71
} ) ;
72
72
} ) ;
73
73
}
0 commit comments