mirror of
https://github.com/kennethnym/aris.git
synced 2026-03-20 09:01:19 +00:00
fix(ci): run tests per-package via bun run test
Use 'bun run test' (which runs 'bun run --filter * test') instead of 'bun test' so each package runs tests from its own directory. Add jsxImportSource pragma to renderer files since consumers without a JRX tsconfig also import them. Co-authored-by: Ona <no-reply@ona.com>
This commit is contained in:
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@@ -21,4 +21,4 @@ jobs:
|
|||||||
run: bun install --frozen-lockfile
|
run: bun install --frozen-lockfile
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: bun test
|
run: bun run test
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
|
/** @jsxImportSource @nym.sh/jrx */
|
||||||
import { render } from "@nym.sh/jrx"
|
import { render } from "@nym.sh/jrx"
|
||||||
import { describe, expect, test } from "bun:test"
|
import { describe, expect, test } from "bun:test"
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
|
/** @jsxImportSource @nym.sh/jrx */
|
||||||
import type { FeedItemRenderer } from "@aelis/core"
|
import type { FeedItemRenderer } from "@aelis/core"
|
||||||
|
|
||||||
import { FeedCard, SansSerifText } from "@aelis/components"
|
import { FeedCard, SansSerifText } from "@aelis/components"
|
||||||
|
|||||||
Reference in New Issue
Block a user