Skip to content

Commit 142dfb4

Browse files
committed
change Buffer('a') to Syumbol() to force TypeError
unsure if this is correct, but everything that is type 'object' will be handled by code as is.
1 parent 11bd5d2 commit 142dfb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/graph/lib/commands/QUERY.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ describe('GRAPH.QUERY', () => {
3232
assert.throws(() => {
3333
QUERY.transformArguments('key', 'query', {
3434
params: {
35-
a: Buffer.from('a')
35+
a: Symbol()
3636
}
3737
})
3838
}, TypeError);

0 commit comments

Comments
 (0)