mirror of
https://github.com/Unleash/unleash.git
synced 2025-10-04 11:17:02 +02:00
Vitest Pros: * Automated failing test comments on github PRs * A nice local UI with incremental testing when changing files (`yarn test:ui`) * Also nicely supported in all major IDEs, click to run test works (so we won't miss what we had with jest). * Works well with ESM Vitest Cons: * The ESBuild transformer vitest uses takes a little longer to transform than our current SWC/jest setup, however, it is possible to setup SWC as the transformer for vitest as well (though it only does one transform, so we're paying ~7-10 seconds instead of ~ 2-3 seconds in transform phase). * Exposes how slow our tests are (tongue in cheek here)
111 lines
1.7 KiB
Plaintext
111 lines
1.7 KiB
Plaintext
node_modules
|
|
lerna-debug
|
|
npm-debug
|
|
.DS_Store
|
|
/dist
|
|
.vscode
|
|
|
|
# Logs
|
|
logs
|
|
*.log
|
|
|
|
# Runtime data
|
|
pids
|
|
*.pid
|
|
*.seed
|
|
|
|
# Directory for instrumented libs generated by jscoverage/JSCover
|
|
lib-cov
|
|
|
|
# Coverage directory used by tools like istanbul
|
|
# coverage
|
|
coverage/lcov-report
|
|
|
|
# Compiled binary addons (http://nodejs.org/api/addons.html)
|
|
build/Release
|
|
|
|
# liquibase stuff
|
|
/sql
|
|
unleash-db.jar
|
|
unleash-server.tar.gz
|
|
|
|
# idea stuff:
|
|
.idea/*
|
|
|
|
.vagrant/
|
|
|
|
# Visual Studio Code
|
|
jsconfig.json
|
|
typings
|
|
.nyc_output
|
|
|
|
# Emacs, nix, devenv, pijul
|
|
# Only Thomas uses this and he doesn't want to add it to the repo
|
|
.devenv
|
|
.devenv.flake.nix
|
|
.dir-locals.el
|
|
.envrc
|
|
shell.nix
|
|
# Pijul + ignore
|
|
.ignore
|
|
.pijul
|
|
# Custom hooks in husky directory
|
|
.husky/pre-push
|
|
.husky/prepare-commit-msg
|
|
|
|
|
|
# We use yarn.lock
|
|
package-lock.json
|
|
|
|
# Website stuff
|
|
/website/build
|
|
/website/backers.json
|
|
/website/node_modules
|
|
/website/translated_docs
|
|
/website/i18n/*
|
|
.env
|
|
|
|
# Ignore frontend build
|
|
frontend/build
|
|
|
|
# Ignore orval apis
|
|
frontend/src/openapi/apis
|
|
frontend/src/openapi/index.ts
|
|
|
|
# Generated docs
|
|
website/docs/reference/api/**/sidebar.ts
|
|
website/docs/reference/api/**/**.info.mdx
|
|
website/docs/generated
|
|
reports/jest-junit.xml
|
|
|
|
# Yarn (https://yarnpkg.com/getting-started/qa#which-files-should-be-gitignored)
|
|
.pnp.*
|
|
.yarn/*
|
|
!.yarn/patches
|
|
!.yarn/plugins
|
|
!.yarn/releases
|
|
!.yarn/sdks
|
|
!.yarn/versions
|
|
frontend/.yarn/*
|
|
!frontend/.yarn/patches
|
|
!frontend/.yarn/plugins
|
|
!frontend/.yarn/releases
|
|
!frontend/.yarn/sdks
|
|
!frontend/.yarn/versions
|
|
|
|
docker/.yarn/*
|
|
!docker/.yarn/patches
|
|
!docker/.yarn/plugins
|
|
!docker/.yarn/releases
|
|
!docker/.yarn/sdks
|
|
!docker/.yarn/versions
|
|
|
|
website/.yarn/*
|
|
!website/.yarn/patches
|
|
!website/.yarn/plugins
|
|
!website/.yarn/releases
|
|
!website/.yarn/sdks
|
|
!website/.yarn/versions
|
|
|
|
coverage/.tmp
|