diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c96b165..ba64017 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -37,6 +37,6 @@ jobs: run: bun run typecheck - name: Test - run: bun test + run: bun test ./tests env: CODE_OZ_LIVE_PROVIDER_TESTS: "" diff --git a/README.md b/README.md index f7b88d7..f1f876b 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ AI agents are fast. `code-oz` makes their work auditable. It is for risky repos, [![Homebrew](https://img.shields.io/badge/Homebrew-omerakben%2Fcode--oz-orange)](https://github.com/omerakben/homebrew-code-oz) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE) [![Platform](https://img.shields.io/badge/platform-macOS%20%7C%20Linux-lightgrey)](https://github.com/omerakben/code-oz/releases) -[![Tests passing](https://img.shields.io/badge/tests-3395%20passing-brightgreen)](https://github.com/omerakben/code-oz/actions/workflows/test.yml) +[![Tests passing](https://img.shields.io/badge/tests-3390%20passing-brightgreen)](https://github.com/omerakben/code-oz/actions/workflows/test.yml) > **macOS note:** code-oz binaries are not yet Apple-Developer-signed (signing + notarization deferred to v0.x stable). Gatekeeper may prompt on first launch; the install script applies `xattr -d com.apple.quarantine` as a workaround, and `brew install` handles this automatically. diff --git a/package.json b/package.json index aaab4d4..49bc5f6 100644 --- a/package.json +++ b/package.json @@ -7,8 +7,8 @@ "code-oz": "npm-wrapper/index.cjs" }, "scripts": { - "test": "bun test", - "test:watch": "bun test --watch", + "test": "bun test ./tests", + "test:watch": "bun test ./tests --watch", "dev": "bun run src/cli.ts", "build:binary": "bun build --compile --target=bun src/cli.ts --outfile dist/code-oz", "build:binaries": "bun run scripts/build-binaries.ts", diff --git a/tests/demo/failure-gates.test.ts b/tests/demo/failure-gates.test.ts index ec40fcb..1138980 100644 --- a/tests/demo/failure-gates.test.ts +++ b/tests/demo/failure-gates.test.ts @@ -21,7 +21,7 @@ // re-implementation. import { describe, test, expect, beforeEach, afterEach } from 'bun:test' -import { mkdtemp, mkdir, rm, writeFile, appendFile } from 'node:fs/promises' +import { mkdtemp, mkdir, rm, writeFile } from 'node:fs/promises' import { tmpdir } from 'node:os' import { join, resolve as resolvePath } from 'node:path' import { realpath } from 'node:fs/promises'