There was an error while loading. Please reload this page.
1 parent 2d404a3 commit d310bf4Copy full SHA for d310bf4
packages/playground/jest-puppeteer.config.js
@@ -1,8 +1,15 @@
1
-module.exports = {
2
- server: {
3
- // In CI mode, run from built production version instead of the dev version.
4
- command: "serve -l 8080",
5
- port: 8080,
6
- usedPortAction: "kill"
7
- }
+const getConfig = require('jest-puppeteer-docker/lib/config');
+
+const baseConfig = getConfig();
+const customConfig = Object.assign({}, baseConfig);
+customConfig.server = {
+ // In CI mode, run from built production version instead of the dev version.
8
+ command: "serve -l 8080",
9
+ port: 8080,
10
+ usedPortAction: "kill"
11
};
12
13
+customConfig.chromiumFlags = ['--font-render-hinting=none', '--enable-font-antialiasing'];
14
15
+module.exports = customConfig;
0 commit comments