MCPcopy Index your code
hub / github.com/callstack/agent-device / capabilities.test.ts

File capabilities.test.ts

src/core/__tests__/capabilities.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { test } from 'vitest';
2import assert from 'node:assert/strict';
3import { isCommandSupportedOnDevice, unsupportedHintForDevice } from '../capabilities.ts';
4import { matchesPlatformSelector, type DeviceInfo } from '../../kernel/device.ts';

Callers

nothing calls this directly

Calls 4

matchesPlatformSelectorFunction · 0.90
unsupportedHintForDeviceFunction · 0.90
assertCommandSupportFunction · 0.85

Tested by

no test coverage detected