Skip to content

Commit a74e4ef

Browse files
committed
chore(package): update minor deps
1 parent 89381b6 commit a74e4ef

5 files changed

Lines changed: 675 additions & 565 deletions

File tree

__tests__/api/mcp.vitest.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// @vitest-environment node
22

33
import { describe, expect, test } from 'vitest'
4+
import packageJson from '../../package.json' with { type: 'json' }
45

56
import { POST } from '../../app/mcp/route'
67

@@ -94,7 +95,7 @@ describe('MCP HTTP endpoint', () => {
9495
result: expect.objectContaining({
9596
serverInfo: {
9697
name: 'history',
97-
version: '12.6.0',
98+
version: packageJson.version,
9899
},
99100
}),
100101
}),

mcp/storytelling.integration.vitest.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import path from 'node:path'
44
import { fileURLToPath } from 'node:url'
55
import { afterEach, describe, expect, test } from 'vitest'
66
import * as z from 'zod/v4'
7+
import packageJson from '../package.json' with { type: 'json' }
78

89
type JsonRpcSuccess = {
910
jsonrpc: '2.0'
@@ -297,7 +298,7 @@ describe('storytelling MCP server integration', () => {
297298

298299
expect(result.serverInfo).toEqual({
299300
name: 'history',
300-
version: '12.6.0',
301+
version: packageJson.version,
301302
})
302303
expect(result.protocolVersion).toBeTruthy()
303304
expect(result.capabilities).toEqual(expect.objectContaining({

mcp/storytelling.vitest.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { InMemoryTransport } from '@modelcontextprotocol/server'
22
import { afterEach, beforeEach, describe, expect, test, vi } from 'vitest'
33
import * as z from 'zod/v4'
4+
import packageJson from '../package.json' with { type: 'json' }
45

56
type JsonRpcSuccess = {
67
jsonrpc: '2.0'
@@ -525,7 +526,7 @@ describe('storytelling MCP server', () => {
525526

526527
expect(result.serverInfo).toEqual({
527528
name: 'history',
528-
version: '12.6.0',
529+
version: packageJson.version,
529530
})
530531
expect(result.protocolVersion).toBeTruthy()
531532
expect(result.capabilities).toEqual(expect.objectContaining({

0 commit comments

Comments
 (0)