-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
45 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,13 @@ | ||
{ | ||
"presets": ["react", "env"] | ||
"presets": [ | ||
"react", | ||
[ | ||
"env", | ||
{ | ||
"targets": { | ||
"browsers": ["last 2 Chrome versions"] | ||
} | ||
} | ||
] | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
"author": "kachulio1 <[email protected]>", | ||
"license": "MIT", | ||
"scripts": { | ||
"start": "webpack-dev-server --mode development --open", | ||
"start": "webpack-dev-server --mode development", | ||
"build": "webpack --mode production", | ||
"test": "jest", | ||
"coveralls": "cat ./coverage/lcov.info | coveralls" | ||
|
@@ -34,6 +34,6 @@ | |
"react-dom": "^16.6.3" | ||
}, | ||
"engines": { | ||
"node": "8" | ||
"node": "11.4.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import puppeteer from "puppeteer"; | ||
|
||
const baseURL = "http://127.0.0.1:8080"; | ||
let browser; | ||
let page; | ||
|
||
beforeAll(async () => { | ||
browser = await puppeteer.launch({args: ['--no-sandbox', '--disable-setuid-sandbox']}); | ||
page = await browser.newPage(); | ||
}); | ||
|
||
describe("Wink", () => { | ||
test("find a wink emoji on / route", async (done) => { | ||
expect(true).toBe(true) | ||
done() | ||
}); | ||
}); | ||
|
||
afterAll(() => { | ||
browser.close(); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters