Skip to content

Commit 9e22726

Browse files
check test
1 parent 6c83fc9 commit 9e22726

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

packages/devextreme-cli/testing/env.angular.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ const sandboxPath = path.join(process.cwd(), './testing/sandbox/angular');
1111
const appPath = path.join(sandboxPath, appName);
1212
const schematicsDirectory = '../../../../devextreme-schematics';
1313
const schematicsPath = path.join(sandboxPath, schematicsDirectory);
14-
const routingFilePath = path.join(appPath, 'src/app/app-routing.module.ts');
1514
const appComponentPath = path.join(appPath, 'src/app/app.component.html');
1615

1716
async function prepareSchematics() {
@@ -60,10 +59,6 @@ exports.createApp = async(depsVersionTag) => {
6059
cwd: appPath,
6160
forceNoCmd: true
6261
});
63-
64-
const data = fs.readFileSync(routingFilePath, 'utf8');
65-
const result = data.replace('RouterModule.forRoot(routes)', 'RouterModule.forRoot(routes, {useHash: true})');
66-
fs.writeFileSync(routingFilePath, result, 'utf8');
6762
};
6863

6964
exports.setLayout = (layoutName) => {

0 commit comments

Comments
 (0)