
> inventory-mcp-server@0.1.0 test
> node --test --test-reporter=tap client.test.mjs

TAP version 13
# Subtest: discovers one read-only tool with typed input and output schemas
ok 1 - discovers one read-only tool with typed input and output schemas
  ---
  duration_ms: 427.192808
  type: 'test'
  ...
# Subtest: calls A001 over MCP stdio
ok 2 - calls A001 over MCP stdio
  ---
  duration_ms: 11.388803
  type: 'test'
  ...
# Subtest: calls B002 over MCP stdio
ok 3 - calls B002 over MCP stdio
  ---
  duration_ms: 3.241953
  type: 'test'
  ...
# Subtest: calls C003 over MCP stdio
ok 4 - calls C003 over MCP stdio
  ---
  duration_ms: 4.372499
  type: 'test'
  ...
# Subtest: rejects numeric SKU through the protocol
ok 5 - rejects numeric SKU through the protocol
  ---
  duration_ms: 3.89981
  type: 'test'
  ...
# Subtest: rejects malformed SKU through the protocol
ok 6 - rejects malformed SKU through the protocol
  ---
  duration_ms: 3.66966
  type: 'test'
  ...
# Subtest: rejects extra property through the protocol
ok 7 - rejects extra property through the protocol
  ---
  duration_ms: 3.47385
  type: 'test'
  ...
# Subtest: repeated reads preserve the fixture stock
ok 8 - repeated reads preserve the fixture stock
  ---
  duration_ms: 9.009726
  type: 'test'
  ...
1..8
# tests 8
# suites 0
# pass 8
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 917.994429
