UNPKG

@augment-vir/test

Version:

A universal testing suite that works with Mocha style test runners _and_ Node.js's built-in test runner.

91 lines (90 loc) 2.95 kB
{ "name": "@augment-vir/test", "version": "32.0.0", "description": "A universal testing suite that works with Mocha style test runners _and_ Node.js's built-in test runner.", "keywords": [ "test", "suite", "augment", "helper", "util", "node", "browser", "backend", "frontend", "vir", "augment-vir" ], "homepage": "https://github.com/electrovir/augment-vir", "bugs": { "url": "https://github.com/electrovir/augment-vir/issues" }, "repository": { "type": "git", "url": "git+https://github.com/electrovir/augment-vir.git" }, "license": "(MIT OR CC0-1.0)", "author": { "name": "electrovir", "url": "https://github.com/electrovir" }, "sideEffects": false, "type": "module", "main": "dist/index.js", "module": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "compile": "virmator compile", "start": "tsx src/index.ts", "test": "runstorm --names node,web,playwright \"npm run test:node\" \"npm run test:web\" \"npm run test:playwright\"", "test:coverage": "npm run test", "test:node": "virmator test --no-deps node 'src/augments/universal-testing-suite/**/*.test.ts'", "test:playwright": "playwright test --config configs/playwright.config.ts", "test:update": "npm test", "test:web": "virmator test --no-deps web 'src/test-web/**/*.test.ts' 'src/augments/universal-testing-suite/**/*.test.ts'" }, "dependencies": { "@augment-vir/assert": "^32.0.0", "@augment-vir/common": "^32.0.0", "@date-vir/duration": "^8.6.1", "@virmator/test": "^14.27.1", "type-fest": "^5.7.0" }, "devDependencies": { "@open-wc/testing-helpers": "^3.0.1", "@playwright/test": "^1.61.1", "@types/node": "^26.0.1", "@web/dev-server-esbuild": "^1.0.5", "@web/test-runner": "^0.20.2", "@web/test-runner-commands": "^0.9.0", "@web/test-runner-playwright": "^0.11.1", "@web/test-runner-visual-regression": "^0.10.0", "element-vir": "^26.17.0", "istanbul-smart-text-reporter": "^1.1.5", "pixelmatch": "^7.2.0", "pngjs": "^7.0.0", "runstorm": "^1.0.4", "sharp": "^0.35.2", "spa-router-vir": "^6.6.0", "typescript": "^6.0.3", "url-vir": "^2.1.9" }, "peerDependencies": { "@open-wc/testing-helpers": "*", "@playwright/test": "*", "@web/test-runner-commands": "*", "@web/test-runner-visual-regression": "*", "element-vir": "*", "pixelmatch": ">=5", "pngjs": ">=7", "sharp": ">=0.34", "spa-router-vir": ">=6", "url-vir": ">=2" }, "engines": { "node": ">=22" }, "publishConfig": { "access": "public" } }