diff --git a/readme.md b/readme.md index fca5f5e388..b7b2862eff 100644 --- a/readme.md +++ b/readme.md @@ -21,5 +21,5 @@ and use this [VSCode settings](https://mate-academy.github.io/fe-program/tools/v ## Demo Links Replace `` with your Github username and copy the links to Pull Request description: -- [DEMO LINK](https://.github.io/layout_hello-world/) -- [TEST REPORT LINK](https://.github.io/layout_hello-world/report/html_report/) +- [DEMO LINK](https://D0dgerJ.github.io/layout_hello-world/) +- [TEST REPORT LINK](https://D0dgerJ.github.io/layout_hello-world/report/html_report/) diff --git a/src/index.html b/src/index.html index e69de29bb2..955ab44fc5 100644 --- a/src/index.html +++ b/src/index.html @@ -0,0 +1,14 @@ + + + + + + Document + + + Hello, world! + + diff --git a/src/main.test.js b/src/main.test.js index 16b9ad39ee..86b3ae8447 100644 --- a/src/main.test.js +++ b/src/main.test.js @@ -71,10 +71,15 @@ describe('Environmental Check', () => { }); test('You should have Bash Shell', () => { - const bashPath = childProcess.execSync('which bash').toString(); + let bashPath; - expect(!!bashPath) - .toBeTruthy(); + if (process.platform === 'win32') { + bashPath = childProcess.execSync('where bash').toString(); + } else { + bashPath = childProcess.execSync('which bash').toString(); + } + + expect(!!bashPath).toBeTruthy(); }); test('You should have Visual Studio Code', () => {