@nathapp/nax 0.46.2 → 0.46.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/nax.js +4 -4
- package/package.json +1 -1
- package/src/acceptance/generator.ts +1 -1
package/dist/nax.js
CHANGED
|
@@ -18812,7 +18812,7 @@ Generate a complete acceptance.test.ts file using bun:test framework. Follow the
|
|
|
18812
18812
|
1. **One test per AC**: Each acceptance criterion maps to exactly one test
|
|
18813
18813
|
2. **Test observable behavior only**: No implementation details, only user-facing behavior
|
|
18814
18814
|
3. **Independent tests**: No shared state between tests
|
|
18815
|
-
4. **
|
|
18815
|
+
4. **Real-implementation**: Tests should use real implementations without mocking (test observable behavior, not internal units)
|
|
18816
18816
|
5. **Clear test names**: Use format "AC-N: <description>" for test names
|
|
18817
18817
|
6. **Async where needed**: Use async/await for operations that may be asynchronous
|
|
18818
18818
|
|
|
@@ -22178,7 +22178,7 @@ var package_default;
|
|
|
22178
22178
|
var init_package = __esm(() => {
|
|
22179
22179
|
package_default = {
|
|
22180
22180
|
name: "@nathapp/nax",
|
|
22181
|
-
version: "0.46.
|
|
22181
|
+
version: "0.46.3",
|
|
22182
22182
|
description: "AI Coding Agent Orchestrator \u2014 loops until done",
|
|
22183
22183
|
type: "module",
|
|
22184
22184
|
bin: {
|
|
@@ -22251,8 +22251,8 @@ var init_version = __esm(() => {
|
|
|
22251
22251
|
NAX_VERSION = package_default.version;
|
|
22252
22252
|
NAX_COMMIT = (() => {
|
|
22253
22253
|
try {
|
|
22254
|
-
if (/^[0-9a-f]{6,10}$/.test("
|
|
22255
|
-
return "
|
|
22254
|
+
if (/^[0-9a-f]{6,10}$/.test("37f8759"))
|
|
22255
|
+
return "37f8759";
|
|
22256
22256
|
} catch {}
|
|
22257
22257
|
try {
|
|
22258
22258
|
const result = Bun.spawnSync(["git", "rev-parse", "--short", "HEAD"], {
|
package/package.json
CHANGED
|
@@ -217,7 +217,7 @@ Generate a complete acceptance.test.ts file using bun:test framework. Follow the
|
|
|
217
217
|
1. **One test per AC**: Each acceptance criterion maps to exactly one test
|
|
218
218
|
2. **Test observable behavior only**: No implementation details, only user-facing behavior
|
|
219
219
|
3. **Independent tests**: No shared state between tests
|
|
220
|
-
4. **
|
|
220
|
+
4. **Real-implementation**: Tests should use real implementations without mocking (test observable behavior, not internal units)
|
|
221
221
|
5. **Clear test names**: Use format "AC-N: <description>" for test names
|
|
222
222
|
6. **Async where needed**: Use async/await for operations that may be asynchronous
|
|
223
223
|
|