
> 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: 329.55139
  type: 'test'
  ...
# Subtest: calls A001 over MCP stdio
ok 2 - calls A001 over MCP stdio
  ---
  duration_ms: 13.130667
  type: 'test'
  ...
# Subtest: calls B002 over MCP stdio
ok 3 - calls B002 over MCP stdio
  ---
  duration_ms: 4.110767
  type: 'test'
  ...
# Subtest: calls C003 over MCP stdio
ok 4 - calls C003 over MCP stdio
  ---
  duration_ms: 4.259546
  type: 'test'
  ...
# Subtest: rejects numeric SKU through the protocol
ok 5 - rejects numeric SKU through the protocol
  ---
  duration_ms: 7.629443
  type: 'test'
  ...
# Subtest: rejects malformed SKU through the protocol
ok 6 - rejects malformed SKU through the protocol
  ---
  duration_ms: 2.609243
  type: 'test'
  ...
# Subtest: rejects extra property through the protocol
ok 7 - rejects extra property through the protocol
  ---
  duration_ms: 7.304752
  type: 'test'
  ...
# Subtest: repeated reads preserve the fixture stock
ok 8 - repeated reads preserve the fixture stock
  ---
  duration_ms: 6.692384
  type: 'test'
  ...
1..8
# tests 8
# suites 0
# pass 8
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 763.530532
