Skip to content

Commit 596f10d

Browse files
committed
test: add tests for fx-fore sibling node placement and on-demand control handling
- Added unit tests to verify correct placement of sibling nodes under the intended parent in `fx-fore`. - Ensured that `on-demand` controls properly create backing instance nodes while remaining hidden until activated.
1 parent cda3b13 commit 596f10d

2 files changed

Lines changed: 1 addition & 25 deletions

File tree

CLAUDE.md

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -14,34 +14,10 @@ Fore is optimized for:
1414
* long-term preservation
1515
* fast development cycle
1616

17-
## Tech Stack
18-
19-
* npm
20-
* ES6 JavaScript
21-
* fontoXPath as XPath 3.1 implementation
22-
* Web Components
23-
* cypress for e2e tests
24-
* karma for unit tests
25-
* vite as test server
26-
2717
## References
2818
- [Fore documentation](https://jinntec.github.io/fore-docs/tags/version-1.0.0/) — official element/attribute reference
2919
- [Fore demos](https://jinntec.github.io/Fore/doc/demos.html) - curated demos
3020

31-
## Commands
32-
33-
```bash
34-
npm start # Dev server on port 8090 (Vite)
35-
npm run build # Production bundles → dist/fore.js and dist/fore-dev.js
36-
npm test # Run unit tests once (headless Karma/Mocha)
37-
npm run test:watch # Watch mode
38-
npm run lint # ESLint + Prettier check
39-
npm run format # Auto-fix ESLint + Prettier
40-
npm run lint:types # TypeScript type checking via JSDoc
41-
npm run docs # Generate Web Component Analyzer docs
42-
npx cypress run # Run Cypress e2e tests - requires npm start first
43-
```
44-
4521
## Testing
4622

4723
* Unit tests are using karma and are under '/tests' directory.

resources/home.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ nav.local-nav{
275275
/*background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(240, 240, 240, 0.99));*/
276276

277277
border: none;
278-
top:4rem;
278+
top:3.5rem;
279279
border-bottom:1px solid rgba(0,0,0,0.2);
280280
white-space: nowrap;
281281
overflow: auto;

0 commit comments

Comments
 (0)