Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: use snapshot #151

Merged
merged 3 commits into from
Aug 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.DS_Store
.idea/
.vscode/
.nyc_output/
.tests-output/

Expand Down
2,443 changes: 1,127 additions & 1,316 deletions package-lock.json

Large diffs are not rendered by default.

17 changes: 11 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"build": "npm run build-downlevel-dts && tsc --project tsconfig.build.plugin.json && tsc --project tsconfig.build.insertStyle.json",
"build-downlevel-dts": "node scripts/clean-and-run-downlevel-dts.js",
"downlevel-dts": "downlevel-dts . ts3.5 [--to=3.5]",
"test": "nyc --reporter=html --reporter=text ava ./test/*.test.ts -s && npm run test:rollup.config.spec.ts",
"test": "nyc --reporter=html --reporter=text ava && npm run test:rollup.config.spec.ts",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"output-coverage-lcov": "nyc report --reporter=text-lcov > coverage/tests.lcov",
"test:rollup.config.spec.ts": "tsc --project tsconfig.spec.json --noEmit",
Expand Down Expand Up @@ -50,6 +50,9 @@
"dist"
],
"ava": {
"files": [
"./test/*.test.ts"
],
"extensions": [
"ts"
],
Expand All @@ -64,22 +67,24 @@
"sass": "^1.7.2"
},
"devDependencies": {
"@ava/typescript": "^3.0.1",
"@ava/typescript": "^5.0.0",
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@types/icss-utils": "^5.1.2",
"@types/node": "^18.14.6",
"@types/resolve": "^0.0.8",
"ava": "^4.3.1",
"@types/sinon": "^17.0.3",
"ava": "^6.1.3",
"coveralls-next": "^4.2.1",
"downlevel-dts": "^0.10.0",
"eslint": "^7.32.0",
"happy-dom": "^14.12.3",
"husky": "^9.0.11",
"icss-utils": "^5.1.0",
"jsdom": "^17.0.0",
"nyc": "^15.1.0",
"nyc": "^17.0.0",
"postcss": "^8.4.16",
"rollup": "^1 || ^2 || ^3",
"sinon": "^7.2.2",
"sinon": "^18.0.0",
"ts-node": "^10.9.1",
"typescript": "^4.7.4"
},
Expand Down
Loading
Loading