Commit 020a02a
Fix test infrastructure and add comprehensive test coverage
Set up @web/test-runner with esbuild plugin for TypeScript support, rename
all test files to *.test.js convention, fix ESM imports (lodash remap,
jsep interop, @esm-bundle/chai), add 4 new test files for untested
elements (aa-label, aa-memory, aa-choice-item, aa-function-random),
rewrite aa-affect-grid tests (were fully commented out), and fix class
field initializers in aa-screen/aa-session that overwrote HTML attributes.
62 tests passing, 0 failures.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 882e52a commit 020a02a
96 files changed
Lines changed: 53035 additions & 51 deletions
File tree
- coverage
- lcov-report
- aa-affect-grid
- aa-base-element
- aa-checkboxes
- aa-choice-item
- aa-choose
- aa-otherwise
- aa-when
- aa-function
- aa-geolocation
- aa-label
- aa-likert-scale
- aa-memory
- aa-multiple-choice
- aa-screen
- aa-sequence
- aa-jump
- aa-session
- aa-slider
- aa-text-answer
- aa-variable
- customElements
- aa-affect-grid
- aa-base-element
- aa-checkboxes
- aa-choice-item
- aa-choose
- aa-otherwise
- aa-when
- aa-function
- aa-geolocation
- aa-label
- aa-likert-scale
- aa-memory
- aa-multiple-choice
- aa-screen
- aa-sequence
- aa-jump
- aa-session
- aa-slider
- aa-text-answer
- aa-variable
- lib
- html2jsl
- mySVG
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 1399 additions & 0 deletions
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
0 commit comments