Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add feature e2e tests and improve overall testing (#289)
* chore: feature test i18n * refactor: added close function to server * refactor: use isProd instead of process env * chore: added jest env to js files * chore: updated jest config and added setup script * fix: use distPath instead of distDir * chore: added first feature test for i18n * chore: added jest puppeteer config * chore: added NODE_ENV env variable * chore: updated circleci config * chore: added puppeteer orb * chore: update circleci config * chore: updated jest puppeteer config * chore: disable headless * updated ci config * updated ci config * fix: fixed circleci config * chore: updated circleci config * chore: updated circleci config * chore: added puppeteer install to install job * chore: first checkout * fix: remove orb and added run command to install * fix: moved install deps to test job * chore: added build to test * chore: use package.json for checksum * chore: removed build job * added install * chore: removed install * check node_env * chore: set NODE_ENV to test * refactor: remove distDir * refactor: move aver config * log distPath * moved NODE_ENV * updated ci config * log dirname * fix: fixed cli tests * fix: added typing to args * fix: fixed typings and removed test files from exclude * chore: include __tests__ dir * chore: added check for i18n mixin * refactor: added testFeature function * test: added feature test for vue-progressbar * chore: pass all logs to consola and pause logging * fix: fixed thickness in vue-progressbar test * refactor: added options for testFeature * refactor: added feature test for dev build * refactor: added close functions to builder and renderer and core * refactor: added 404 check * linting * linting * linting * linting * fix: added build scripts * test: added build scripts tests * fix: fixed config file * fix: fixed config * fix: fixed types * refactor: added watchers array * refactor: do not open browser in feature tests * chore: remove unused deps * fix: disable thread loder for circle ci tests * fix: fixed typings for api extractor * ci: updated circleci config * ci: added missing job * ci: updated build job * test: reset puppeteer browser after all * ci: fixed config * fix: always run dev test first * ci: do not depend on build job * test: istanbul ignore open browser file * refactor: use optional chaining * test: added tests for mailer plugin * fix: fixed typings * test: added tests for mongodb plugin * test: fixed mongodb test * fix: do not run mailer plugin on build * test: added test for websocket plugin * test: added csrf tests * chore: allow missing page config * chore: updated types for createRenderer * test: added test for create renderer * test: clear cookies after tests * test: added helmet tests * test: removed test sequencer * test: added back sequencer * chore: enabled logging and updated watcher * chore: ignore storage folders * chore: remove console.log * test: remove storage folder after test * test: added tests for typescript plugin * chore: log error log * chore: endabled console log * test: clear log before all * ci: use circlei test reporter * ci: fixed junit install * ci: fix test steps * test: added tests for typescript runtime package * fix: promisify server close for proper tear down * chore: removed test sequencer * chore: added close and updated types * test: updated dev e2e test * chore: added keepDist and keepLogs and do not clear logs in beforeAll * fix: fixed dst path for entries when in subfolder * fix: clear hooks after build * test: added tests for plugins * test: disabled show console logs * chore: removed console log * feat: added before and after close hooks * test: check mocked calles in after close hook * test: added tests for session plugin * fix: split by entries folder not just the word * chore: removed default config * chore: use distDir * fix: changed import for dev and hot middlewares * test: added tests for plugin entries hmr * chore: disable show logs * ci: do not updated lockfile * test: fix dev test * test: added test for static builds * chore: disable show console logs * test: added tests for service worker * test: added test for webpack config hooks * fix: clear stuff after close * test: added istanbul ignore for requireModule * test: added istanbul ignore for requireModule * test: added test for transpile deps * chore: removed options * fix: fixed service worker tests * chore: disable options * fix: fixed plugins entries hmr test * fix: use read file instead of require * chore: added test for error * test: added css extract test * fix: do not start server in static mode * chore: await run commands * fix: do not cache when css extract is active * test: added test for css and postcss * test: added dotenv test * test: added tests for www class * test: moved test www to server and added robots.txt test * test: added test for webpack aliases * test: added test for open browser * chore: do not log message in test * test: changed back path * test: changed dotenv test * fix: fixed typings for webpack alias * fix: exit process on build error * test: added test for files changed plugin * test: remove env test check * test: added test for additional extensions * test: added test for asyncData hook * test: check for store file to include extensions * linting * test: check for asyncData class hook * chore: remove show console logs * ci: increase memory limit * ci: added junit dep as resporter * refactor: added internal aver config type and the normal config type which is partial now * fix: fixed persisted state on server side * test: added test for vuex * fix: added next for error middleware to work * test: added tests for favicon, middleware entry file and error handling * chore: removed options * test: renamed to babel loader and updated tests * test: added test for clear server cache * refactor: added types for babel confg param * test: added test for build errors * test: added vue-meta tests * test: added test for copy webpack plugin * test: check error when service-worker.js is missing * chore: updated types and chaining * test: hooks should not fail on false config
- Loading branch information