diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9be0fe36..4a3b4b31 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -6,6 +6,8 @@ You will need [`pnpm`](https://pnpm.io/installation) to build and test `setup-cp pnpm install ``` +To avoid permenant changes to your system, you can use the test docker images under `./dev/docker/__tests__`. + Before running the tests locally, backup your environment variables because faulty code might corrupt the environment. diff --git a/package.json b/package.json index f63150d2..ed3d0d07 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "test.lint": "run-p --aggregate-output --continue-on-error lint.cspell test.lint.eslint test.lint.prettier lint.tsc", "test.lint.eslint": "eslint **/*.{ts,tsx,js,jsx,cjs,mjs,json,yaml} --no-error-on-unmatched-pattern --cache --cache-location ./.cache/eslint/", "test.lint.prettier": "prettier . --check", - "test": "jest --runInBand", + "test": "jest", "build.docker_tests": "node ./dev/docker/__tests__/generate-docker-tests.mjs", "build.docker.arch": "pnpm build.docker_tests && docker build -f ./dev/docker/__tests__/arch.dockerfile -t setup-cpp:arch .", "build.docker.fedora": "pnpm build.docker_tests && docker build -f ./dev/docker/__tests__/fedora.dockerfile -t setup-cpp:fedora .",