Skip to content
This repository was archived by the owner on May 1, 2020. It is now read-only.

Commit c85ee35

Browse files
committed
chore(tests): dan -> noone
1 parent 6c8398e commit c85ee35

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/deep-linking/util.spec.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import * as tsUtils from '../util/typescript-utils';
1010
describe('util', () => {
1111
describe('filterTypescriptFilesForDeepLinks', () => {
1212
it('should return a list of files that are in the directory specified for deeplinking', () => {
13-
const pagesDir = join('Users', 'dan', 'myApp', 'src', 'pages');
13+
const pagesDir = join('Users', 'noone', 'myApp', 'src', 'pages');
1414

1515
const knownFileContent = 'Some string';
1616
const pageOneTs = join(pagesDir, 'page-one', 'page-one.ts');
@@ -671,7 +671,7 @@ export class TacoBellModule {}
671671
});
672672

673673
describe('getRelativePathToPageNgModuleFromAppNgModule', () => {
674-
const prefix = join('Users', 'dan', 'myApp', 'src');
674+
const prefix = join('Users', 'noone', 'myApp', 'src');
675675
const appNgModulePath = join(prefix, 'app', 'app.module.ts');
676676
const pageNgModulePath = join(prefix, 'pages', 'page-one', 'page-one.module.ts');
677677
const result = util.getRelativePathToPageNgModuleFromAppNgModule(appNgModulePath, pageNgModulePath);
@@ -680,7 +680,7 @@ export class TacoBellModule {}
680680

681681
describe('getNgModuleDataFromPage', () => {
682682
it('should throw when NgModule is not in cache', () => {
683-
const prefix = join('Users', 'dan', 'myApp', 'src');
683+
const prefix = join('Users', 'noone', 'myApp', 'src');
684684
const appNgModulePath = join(prefix, 'app', 'app.module.ts');
685685
const pagePath = join(prefix, 'pages', 'page-one', 'page-one.ts');
686686
const fileCache = new FileCache();
@@ -711,7 +711,7 @@ import { HomePage } from './home';
711711
})
712712
export class HomePageModule {}
713713
`;
714-
const prefix = join('Users', 'dan', 'myApp', 'src');
714+
const prefix = join('Users', 'noone', 'myApp', 'src');
715715
const appNgModulePath = join(prefix, 'app', 'app.module.ts');
716716
const pageNgModulePath = join(prefix, 'pages', 'page-one', 'page-one.module.ts');
717717
const pagePath = join(prefix, 'pages', 'page-one', 'page-one.ts');
@@ -743,7 +743,7 @@ import { HomePage } from './home';
743743
})
744744
export class HomePageModule {}
745745
`;
746-
const prefix = join('Users', 'dan', 'myApp', 'src');
746+
const prefix = join('Users', 'noone', 'myApp', 'src');
747747
const appNgModulePath = join(prefix, 'app', 'app.module.ts');
748748
const pageNgModulePath = join(prefix, 'pages', 'page-one', 'page-one.module.ts');
749749
const pagePath = join(prefix, 'pages', 'page-one', 'page-one.ts');
@@ -917,7 +917,7 @@ export class PageThreeModule {
917917
918918
`;
919919

920-
const prefix = join('Users', 'dan', 'myApp', 'src');
920+
const prefix = join('Users', 'noone', 'myApp', 'src');
921921
const appNgModulePath = join(prefix, 'app', 'app.module.ts');
922922
const pageOneNgModulePath = join(prefix, 'pages', 'page-one', 'page-one.module.ts');
923923
const pageOnePath = join(prefix, 'pages', 'page-one', 'page-one.ts');
@@ -1103,7 +1103,7 @@ export class PageThreeModule {
11031103
11041104
`;
11051105

1106-
const srcDir = join('Users', 'dan', 'myApp', 'src');
1106+
const srcDir = join('Users', 'noone', 'myApp', 'src');
11071107
const appNgModulePath = join(srcDir, 'app', 'app.module.ts');
11081108
const pageOneNgModulePath = join(srcDir, 'pages', 'page-one', 'page-one.module.ts');
11091109
const pageOnePath = join(srcDir, 'pages', 'page-one', 'page-one.ts');
@@ -1296,7 +1296,7 @@ export class PageThreeModule {
12961296
12971297
`;
12981298

1299-
const srcDir = join('/Users', 'dan', 'myApp', 'src');
1299+
const srcDir = join('/Users', 'noone', 'myApp', 'src');
13001300
const appNgModulePath = join(srcDir, 'app', 'app.module.ts');
13011301
const pageOneNgModulePath = join(srcDir, 'pages', 'page-one', 'page-one.module.ts');
13021302
const pageOnePath = join(srcDir, 'pages', 'page-one', 'page-one.ts');
@@ -1514,7 +1514,7 @@ export class PageThreeModule {
15141514
15151515
`;
15161516

1517-
const srcDir = join('/Users', 'dan', 'myApp', 'src');
1517+
const srcDir = join('/Users', 'noone', 'myApp', 'src');
15181518
const appNgModulePath = join(srcDir, 'app', 'app.module.ts');
15191519
const pageOneNgModulePath = join(srcDir, 'pages', 'page-one', 'page-one.not-module.ts');
15201520
const pageOnePath = join(srcDir, 'pages', 'page-one', 'page-one.ts');

0 commit comments

Comments
 (0)