Set up comprehensive frontend testing infrastructure
- 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>
This commit is contained in:
2
frontend/node_modules/entities/dist/esm/generated/decode-data-html.d.ts
generated
vendored
Normal file
2
frontend/node_modules/entities/dist/esm/generated/decode-data-html.d.ts
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
export declare const htmlDecodeTree: Uint16Array;
|
||||
//# sourceMappingURL=decode-data-html.d.ts.map
|
||||
1
frontend/node_modules/entities/dist/esm/generated/decode-data-html.d.ts.map
generated
vendored
Normal file
1
frontend/node_modules/entities/dist/esm/generated/decode-data-html.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"decode-data-html.d.ts","sourceRoot":"","sources":["../../../src/generated/decode-data-html.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,EAAE,WAK5B,CAAC"}
|
||||
7
frontend/node_modules/entities/dist/esm/generated/decode-data-html.js
generated
vendored
Normal file
7
frontend/node_modules/entities/dist/esm/generated/decode-data-html.js
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
1
frontend/node_modules/entities/dist/esm/generated/decode-data-html.js.map
generated
vendored
Normal file
1
frontend/node_modules/entities/dist/esm/generated/decode-data-html.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"decode-data-html.js","sourceRoot":"","sources":["../../../src/generated/decode-data-html.ts"],"names":[],"mappings":"AAAA,8CAA8C;AAE9C,MAAM,CAAC,MAAM,cAAc,GAAgB,eAAe,CAAC,IAAI,WAAW;AACtE,kBAAkB;AAClB,eAAe,CAAC,268CAA268C;KACt78C,KAAK,CAAC,EAAE,CAAC;KACT,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CACnC,CAAC"}
|
||||
2
frontend/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts
generated
vendored
Normal file
2
frontend/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
export declare const xmlDecodeTree: Uint16Array;
|
||||
//# sourceMappingURL=decode-data-xml.d.ts.map
|
||||
1
frontend/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts.map
generated
vendored
Normal file
1
frontend/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"decode-data-xml.d.ts","sourceRoot":"","sources":["../../../src/generated/decode-data-xml.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,EAAE,WAK3B,CAAC"}
|
||||
7
frontend/node_modules/entities/dist/esm/generated/decode-data-xml.js
generated
vendored
Normal file
7
frontend/node_modules/entities/dist/esm/generated/decode-data-xml.js
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
// Generated using scripts/write-decode-map.ts
|
||||
export const xmlDecodeTree = /* #__PURE__ */ new Uint16Array(
|
||||
// prettier-ignore
|
||||
/* #__PURE__ */ "\u0200aglq\t\x15\x18\x1b\u026d\x0f\0\0\x12p;\u4026os;\u4027t;\u403et;\u403cuot;\u4022"
|
||||
.split("")
|
||||
.map((c) => c.charCodeAt(0)));
|
||||
//# sourceMappingURL=decode-data-xml.js.map
|
||||
1
frontend/node_modules/entities/dist/esm/generated/decode-data-xml.js.map
generated
vendored
Normal file
1
frontend/node_modules/entities/dist/esm/generated/decode-data-xml.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"decode-data-xml.js","sourceRoot":"","sources":["../../../src/generated/decode-data-xml.ts"],"names":[],"mappings":"AAAA,8CAA8C;AAE9C,MAAM,CAAC,MAAM,aAAa,GAAgB,eAAe,CAAC,IAAI,WAAW;AACrE,kBAAkB;AAClB,eAAe,CAAC,uFAAuF;KAClG,KAAK,CAAC,EAAE,CAAC;KACT,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CACnC,CAAC"}
|
||||
8
frontend/node_modules/entities/dist/esm/generated/encode-html.d.ts
generated
vendored
Normal file
8
frontend/node_modules/entities/dist/esm/generated/encode-html.d.ts
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
type EncodeTrieNode = string | {
|
||||
v?: string;
|
||||
n: number | Map<number, EncodeTrieNode>;
|
||||
o?: string;
|
||||
};
|
||||
export declare const htmlTrie: Map<number, EncodeTrieNode>;
|
||||
export {};
|
||||
//# sourceMappingURL=encode-html.d.ts.map
|
||||
1
frontend/node_modules/entities/dist/esm/generated/encode-html.d.ts.map
generated
vendored
Normal file
1
frontend/node_modules/entities/dist/esm/generated/encode-html.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"encode-html.d.ts","sourceRoot":"","sources":["../../../src/generated/encode-html.ts"],"names":[],"mappings":"AAEA,KAAK,cAAc,GACb,MAAM,GACN;IAAE,CAAC,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;IAAC,CAAC,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAY1E,eAAO,MAAM,QAAQ,EAAE,GAAG,CAAC,MAAM,EAAC,cAAc,CAAwhuB,CAAC"}
|
||||
10
frontend/node_modules/entities/dist/esm/generated/encode-html.js
generated
vendored
Normal file
10
frontend/node_modules/entities/dist/esm/generated/encode-html.js
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
1
frontend/node_modules/entities/dist/esm/generated/encode-html.js.map
generated
vendored
Normal file
1
frontend/node_modules/entities/dist/esm/generated/encode-html.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user