Skip to content

Commit 7c6c9f5

Browse files
fix: remove redundant error property from classification responses
1 parent 7cfd49d commit 7c6c9f5

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

__tests__/unit/main.test.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ describe('ClassifierSdk', () => {
110110
const expectedOutputs = correlationIds.map(id => (
111111
{
112112
correlationId: id,
113-
error: undefined,
114113
classifications: expect.toBeOneOf([expect.arrayContaining([
115114
{
116115
label: expect.any(String),
@@ -186,7 +185,6 @@ describe('ClassifierSdk', () => {
186185
expect(first).toMatchObject([
187186
{
188187
correlationId,
189-
error: undefined,
190188
classifications: expect.toBeOneOf([expect.arrayContaining([
191189
{
192190
label: expect.any(String),
@@ -264,7 +262,6 @@ describe('ClassifierSdk', () => {
264262
expect(first).toMatchObject([
265263
{
266264
correlationId,
267-
error: undefined,
268265
classifications: expect.toBeOneOf([expect.arrayContaining([
269266
{
270267
label: expect.any(String),

0 commit comments

Comments
 (0)