Skip to content

Commit fc5825d

Browse files
mcollinaclaude
andcommitted
fix: update start test to expect isProduction option
The test was expecting only `{ setupSignals: false }` but the implementation passes `{ setupSignals: false, isProduction: true }` to the create function. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent dd3b067 commit fc5825d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/start.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,9 @@ describe('start', () => {
157157
assert.strictEqual(mockServer.started, true, 'Server should be started')
158158
assert.strictEqual(createMock.mock.calls.length, 1, 'create should be called once')
159159

160-
// Verify setupSignals: false is passed to create
160+
// Verify setupSignals: false and isProduction: true are passed to create
161161
const [, , createOptions] = createMock.mock.calls[0].arguments
162-
assert.deepStrictEqual(createOptions, { setupSignals: false }, 'setupSignals should be false')
162+
assert.deepStrictEqual(createOptions, { setupSignals: false, isProduction: true }, 'create options should have setupSignals: false and isProduction: true')
163163

164164
// Reset server state and mocks for second part of test
165165
mockServer.started = false

0 commit comments

Comments
 (0)