test: adopt typed GSDToolsError constructors across failure tests

This commit is contained in:
Tom Boucher
2026-05-04 20:09:48 -04:00
parent 9a469fa05c
commit 9bee4dce4a
3 changed files with 4 additions and 10 deletions

View File

@@ -14,7 +14,7 @@ describe('QueryNativeDirectAdapter', () => {
});
await expect(adapter.dispatchJson('state', ['load'], 'state.load', [])).rejects.toMatchObject({
classification: { kind: 'failure' },
classification: GSDToolsError.failure('x', 'state', ['load'], 1).classification,
command: 'state',
});
});