Skip to content

Commit

Permalink
Added pushstate again
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianRappl committed Jul 20, 2021
1 parent a05f5e5 commit c7066a8
Show file tree
Hide file tree
Showing 3 changed files with 91 additions and 4 deletions.
5 changes: 1 addition & 4 deletions integration/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,4 @@ const buildDemo = () =>
exec('npm run build:demo:test', undefined, resolve);
});

module.exports = async jestConfig => {
await buildDemo();
await setupPuppeteer(jestConfig);
};
module.exports = jestConfig => Promise.all([buildDemo(), setupPuppeteer(jestConfig)]);
88 changes: 88 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"lint": "tslint -c tslint.json 'src/**/*.{ts,tsx}' --project tsconfig.json",
"prepush": "npm run test & npm run build",
"prettier": "prettier --config prettier.config.js --write 'src/**/*.{ts,tsx}'",
"serve:test": "pushstate-server -d integration/styleguide -p 6065",
"start": "styleguidist server",
"test": "npm run lint && npm run test:unit",
"test:unit": "cross-env NODE_ENV=test jest",
Expand Down Expand Up @@ -90,6 +91,7 @@
"material-design-icons": "^3.0.1",
"prettier": "^1.15.3",
"puppeteer": "^1.13.0",
"pushstate-server": "^3.0.1",
"react": "~16.8.0",
"react-docgen-typescript": "^1.12.3",
"react-dom": "^16.8.0",
Expand Down

0 comments on commit c7066a8

Please sign in to comment.