- Install Jest for unit testing with React Testing Library - Install Playwright for end-to-end testing - Configure Jest with proper TypeScript support and module mapping - Create test setup files and utilities for both unit and e2e tests Components: * Jest configuration with coverage thresholds * Playwright configuration with browser automation * Unit tests for LoginForm, AuthContext, and useSocketIO hook * E2E tests for authentication, dashboard, and agents workflows * GitHub Actions workflow for automated testing * Mock data and API utilities for consistent testing * Test documentation with best practices Testing features: - Unit tests with 70% coverage threshold - E2E tests with API mocking and user journey testing - CI/CD integration for automated test runs - Cross-browser testing support with Playwright - Authentication system testing end-to-end 🚀 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
48 lines
1.3 KiB
JSON
48 lines
1.3 KiB
JSON
{
|
|
"name": "symbol-tree",
|
|
"version": "3.2.4",
|
|
"description": "Turn any collection of objects into its own efficient tree or linked list using Symbol",
|
|
"main": "lib/SymbolTree.js",
|
|
"scripts": {
|
|
"lint": "eslint lib test",
|
|
"test": "istanbul cover test/SymbolTree.js",
|
|
"posttest": "npm run lint",
|
|
"ci": "istanbul cover test/SymbolTree.js --report lcovonly && cat ./coverage/lcov.info | coveralls",
|
|
"postci": "npm run posttest",
|
|
"predocumentation": "cp readme-header.md README.md",
|
|
"documentation": "jsdoc2md --files lib/SymbolTree.js >> README.md"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/jsdom/js-symbol-tree.git"
|
|
},
|
|
"keywords": [
|
|
"list",
|
|
"queue",
|
|
"stack",
|
|
"linked-list",
|
|
"tree",
|
|
"es6",
|
|
"dom",
|
|
"symbol"
|
|
],
|
|
"files": [
|
|
"lib"
|
|
],
|
|
"author": "Joris van der Wel <joris@jorisvanderwel.com>",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/jsdom/js-symbol-tree/issues"
|
|
},
|
|
"homepage": "https://github.com/jsdom/js-symbol-tree#symbol-tree",
|
|
"devDependencies": {
|
|
"babel-eslint": "^10.0.1",
|
|
"coveralls": "^3.0.0",
|
|
"eslint": "^5.16.0",
|
|
"eslint-plugin-import": "^2.2.0",
|
|
"istanbul": "^0.4.5",
|
|
"jsdoc-to-markdown": "^5.0.0",
|
|
"tape": "^4.0.0"
|
|
}
|
|
}
|