Skip to content

Commit 5a18f9f

Browse files
wip. test checking
1 parent 99961ef commit 5a18f9f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

packages/devextreme-cli/testing/dev-server.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ module.exports = class DevServer {
2828

2929
async build() {
3030
try {
31+
fs.rmSync(this.env.deployPath, { recursive: true, force: true });
3132
fs.mkdirSync(this.env.deployPath, { recursive: true });
3233

3334
await runCommand('npm', this.env.npmArgs, {

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ function getConfig({ engine, template, fileExtension, templateExtension, transpi
5252
};
5353

5454
config.setLayout = (layoutName) => {
55+
console.log('------setLayout---->', layoutName);
5556
const regexToFind = /SideNav\w+Toolbar as SideNavBarLayout/g;
5657
const newSubStr = `${classify(layoutName)} as SideNavBarLayout`;
5758
const data = fs.readFileSync(appLayoutPath, 'utf8');

0 commit comments

Comments
 (0)