Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
4307458
fix: remove noise from test output
milesnash Jan 26, 2026
065920e
fix: switch from tape + tap-diff to tap - 1st pass
milesnash Jan 29, 2026
657277d
fix: deepEqual -> same
milesnash Jan 29, 2026
7cd1f51
fix: failing test in prepublishOnly.test.js
milesnash Jan 29, 2026
57e992d
fix: move keyMap to own file to allow method.js tests to run
milesnash Jan 29, 2026
5f2e3bd
fix: component.test.js
milesnash Jan 29, 2026
6b23cc4
fix: computed.test.js - initLog + deepEqual -> same
milesnash Jan 29, 2026
112f7b1
fix: timeout_intervals.test.js - assert.false -> assert.equal
milesnash Jan 29, 2026
6f4659f
fix: assert.notEqual -> assert.not
milesnash Jan 29, 2026
864f993
fix: true|false -> equal
milesnash Jan 30, 2026
cab7ccf
fix: props.test.js
milesnash Jan 30, 2026
25bb538
fix: element.test.js
milesnash Jan 30, 2026
17669f7
fix: focus.test.js
milesnash Jan 30, 2026
dfd58da
fix: eventListeners.test.js
milesnash Jan 30, 2026
967a13a
fix: router.test.js
milesnash Jan 30, 2026
ca57cce
fix: parser.test.js
milesnash Jan 30, 2026
78e64e6
fix: remove noise from test output
milesnash Jan 30, 2026
11224c4
fix: update commands + remove unneeded deps
milesnash Jan 30, 2026
2b7438b
Merge branch 'master' into fix/tests
milesnash Jan 30, 2026
0cfc02a
fix: committed in error
milesnash Jan 30, 2026
5cb1e3b
fix: computedprops.test.js
milesnash Jan 30, 2026
2041991
fix: initLog tweaks
milesnash Jan 30, 2026
bd8f62f
fix: update master coverage workflow
milesnash Jan 31, 2026
1ae55ab
fix: update test output parser
milesnash Feb 2, 2026
407c0d0
fix: account for matches being empty strings
milesnash Feb 2, 2026
91b1bfe
Merge branch 'master' into fix/tests
milesnash Feb 12, 2026
84edc8f
Update tests
milesnash Feb 12, 2026
aceb834
chore: make the test summary look like it used to
milesnash Feb 13, 2026
acbf85c
chore: undo yml indentation fix so that the changes are easy to see
milesnash Feb 13, 2026
0db38d8
chore: print 0 instead of NaN
milesnash Feb 18, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/master-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
run: npm install

- name: Run Tests with Coverage
run: npx c8 --reporter=lcov --reporter=text node scripts/runTests.js
run: npm run test:ci

- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v4
Expand Down
18 changes: 11 additions & 7 deletions .github/workflows/run-blits-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,21 +61,25 @@ jobs:
const testOutput = fs.readFileSync('test-report.txt', 'utf8');

// Check for errors and test results
const hasError = testOutput.includes('Error');
const testSummaryMatch = testOutput.match(/passed:\s*(\d+)\s*failed:\s*(\d+)\s*of\s*(\d+)\s*tests/);
const testSummaryMatch = testOutput.match(/^#\s*\{\s*total:\s*(\d+),?\s*pass:\s*(\d+),?\s*(?:fail:)?\s*(\d*),?\s*(?:skip:)?\s*(\d*)\s*\}$/mu);

if (hasError && (!testSummaryMatch || testSummaryMatch[3] === '0')) {
if (
!testSummaryMatch ||
((testSummaryMatch[1] === "0" || testSummaryMatch[1] === "") &&
(testSummaryMatch[2] === "0" || testSummaryMatch[2] === ""))
) {
// Error with no tests or zero tests
results.summary = 'Test execution encountered errors. No tests were run.';
results.testsFailed = true;
results.error = testOutput;
} else if (testSummaryMatch) {
// We have a test summary
const passed = parseInt(testSummaryMatch[1]);
const failed = parseInt(testSummaryMatch[2]);
const total = parseInt(testSummaryMatch[3]);
const total = parseInt(testSummaryMatch[1]);
const passed = parseInt(testSummaryMatch[2]);
const failed = testSummaryMatch[3] === "" ? 0 : parseInt(testSummaryMatch[3]);
const skipped = testSummaryMatch[4] === "" ? 0 : parseInt(testSummaryMatch[4]);

results.summary = testSummaryMatch[0];
results.summary = `passed: ${passed} failed: ${failed} skipped: ${skipped} of ${total} tests`;

if (failed > 0 || total === 0) {
results.testsFailed = true;
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
node_modules
.DS_store
.DS_Store
.tap
coverage
Loading