@@ -266,7 +266,7 @@ describe('Library Schematic', () => {
266266 const tree = await schematicRunner . runSchematic ( 'library' , defaultOptions , workspaceTree ) ;
267267
268268 const tsConfigJson = getJsonFileContent ( tree , 'tsconfig.json' ) ;
269- expect ( tsConfigJson . compilerOptions . paths [ 'foo' ] ) . toEqual ( [ 'dist/foo' ] ) ;
269+ expect ( tsConfigJson . compilerOptions . paths [ 'foo' ] ) . toEqual ( [ './ dist/foo' ] ) ;
270270 } ) ;
271271
272272 it ( `should append to existing paths mappings` , async ( ) => {
@@ -284,7 +284,7 @@ describe('Library Schematic', () => {
284284 const tree = await schematicRunner . runSchematic ( 'library' , defaultOptions , workspaceTree ) ;
285285
286286 const tsConfigJson = getJsonFileContent ( tree , 'tsconfig.json' ) ;
287- expect ( tsConfigJson . compilerOptions . paths [ 'foo' ] ) . toEqual ( [ 'libs/*' , 'dist/foo' ] ) ;
287+ expect ( tsConfigJson . compilerOptions . paths [ 'foo' ] ) . toEqual ( [ 'libs/*' , './ dist/foo' ] ) ;
288288 } ) ;
289289
290290 it ( `should not modify the file when --skipTsConfig` , async ( ) => {
@@ -333,7 +333,7 @@ describe('Library Schematic', () => {
333333 expect ( cfg . projects [ '@myscope/mylib' ] ) . toBeDefined ( ) ;
334334
335335 const rootTsCfg = getJsonFileContent ( tree , '/tsconfig.json' ) ;
336- expect ( rootTsCfg . compilerOptions . paths [ '@myscope/mylib' ] ) . toEqual ( [ 'dist/myscope/mylib' ] ) ;
336+ expect ( rootTsCfg . compilerOptions . paths [ '@myscope/mylib' ] ) . toEqual ( [ './ dist/myscope/mylib' ] ) ;
337337 } ) ;
338338
339339 it ( `should dasherize scoped libraries` , async ( ) => {
0 commit comments