We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 481298f commit 3a850f1Copy full SHA for 3a850f1
test/client.js
@@ -25,7 +25,7 @@ describe('clients', () => {
25
const client = new Client('foo', 'bar').usePromises();
26
assert.equal(true, client.promises);
27
client.users.list().catch(err => {
28
- assert.equal(true, err.message.indexOf('error.list') !== -1);
+ assert.deepStrictEqual({ type: 'error.list' }, err.body);
29
done();
30
});
31
0 commit comments