Skip to content

Commit d252fa4

Browse files
committed
chore(e2e): rename app-module.ts to app.module.ts for consistency
references ionic-team#10023
1 parent eaa6248 commit d252fa4

File tree

148 files changed

+7
-62
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

148 files changed

+7
-62
lines changed

scripts/e2e/e2e.template.dev.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272

7373
<script>
7474
System.import('@angular/platform-browser-dynamic').then(function(platformBrowserDynamic) {
75-
System.import('app-module.js').then(function(appModule) {
75+
System.import('app.module.js').then(function(appModule) {
7676
platformBrowserDynamic.platformBrowserDynamic().bootstrapModule(appModule.AppModule);
7777
}, console.error.bind(console));
7878
}, console.error.bind(console));

scripts/e2e/entry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
import { platformBrowser } from '@angular/platform-browser';
2-
import { AppModuleNgFactory } from './app-module.ngfactory';
2+
import { AppModuleNgFactory } from './app.module.ngfactory';
33

44
platformBrowser().bootstrapModuleFactory(AppModuleNgFactory);

scripts/gulp/tasks/e2e.dev.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ task('e2e.build', function () {
5959
.on('error', function (error) {
6060
console.log(error.message);
6161
})
62-
.pipe(gulpif(/app-module.js$/, createIndexHTML()))
62+
.pipe(gulpif(/app.module.js$/, createIndexHTML()))
6363
.pipe(gulpif(/e2e.js$/, createPlatformTests()));
6464

6565
var testFiles = src([

scripts/gulp/tasks/e2e.prod.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ task('e2e.copySource', (done: Function) => {
3636
const buildConfig = require('../../build/config');
3737

3838
const stream = src([`${SRC_ROOT}/**/*`, `!${SRC_ROOT}/**/*.spec.ts`])
39-
.pipe(gulpif(/app-module.ts$/, createIndexHTML()))
39+
.pipe(gulpif(/app.module.ts$/, createIndexHTML()))
4040
.pipe(gulpif(/e2e.ts$/, createPlatformTests()))
4141
.pipe(dest(DIST_E2E_ROOT));
4242

@@ -101,10 +101,10 @@ task('e2e.compileTests', (done: Function) => {
101101
});
102102

103103
function buildE2ETests(folderInfo: any, done: Function) {
104-
let includeGlob = ['./components/*/test/*/app-module.ts', './components/*/test/*/entry.ts'];
104+
let includeGlob = ['./components/*/test/*/app.module.ts', './components/*/test/*/entry.ts'];
105105
if (folderInfo.componentName && folderInfo.componentTest) {
106106
includeGlob = [
107-
`./components/${folderInfo.componentName}/test/${folderInfo.componentTest}/app-module.ts`,
107+
`./components/${folderInfo.componentName}/test/${folderInfo.componentTest}/app.module.ts`,
108108
`./components/${folderInfo.componentName}/test/${folderInfo.componentTest}/entry.ts`,
109109
];
110110
}
@@ -198,7 +198,7 @@ task('e2e.watchProd', ['e2e.copyExternalDependencies', 'e2e.sass', 'e2e.fonts'],
198198
let e2eTestPath = SRC_COMPONENTS_ROOT;
199199

200200
if (folderInfo.componentName && folderInfo.componentTest) {
201-
e2eTestPath = join(SRC_COMPONENTS_ROOT, folderInfo.componentName, 'test', folderInfo.componentTest, 'app-module.ts');
201+
e2eTestPath = join(SRC_COMPONENTS_ROOT, folderInfo.componentName, 'test', folderInfo.componentTest, 'app.module.ts');
202202
}
203203

204204
try {
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/components/app/test/gesture-collision/app-module.ts renamed to src/components/app/test/gesture-collision/app.module.ts

File renamed without changes.

0 commit comments

Comments
 (0)