Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: CI

on:
pull_request:

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm

- run: npm ci

- run: npm run typecheck

- run: npx vitest run

- run: npm run build
4 changes: 2 additions & 2 deletions .github/workflows/update-readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
cache: npm

- run: npm install
- run: npm ci

- run: npm test

Expand Down
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2280,13 +2280,16 @@ Wire it up with your test runner (vitest, jest, mocha, etc.):

```ts
import { testSuite, SkipTest, setExpect } from "reactive-framework-test-suite";
import { expect } from "vitest";
import { describe, test, expect } from "vitest";

// Optional: swap the built-in expect for your runner's
// for richer error messages and tighter integration.
setExpect(expect);

for (const { section, cases } of testSuite) {
for (const { section, cases, type } of testSuite) {
// Behavioral cases never fail; they return a string describing
// the design choice your framework made (see Behavioral Differences).
if (type === "behavioral") continue;
describe(section, () => {
for (const [name, fn] of Object.entries(cases)) {
test(name, () => {
Expand Down
138 changes: 0 additions & 138 deletions docs/coverage-matrix.md

This file was deleted.

58 changes: 19 additions & 39 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading