Skip to content

Commit 897cedc

Browse files
committed
refactor: fix test again
1 parent 025c56e commit 897cedc

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

projects/observability/src/shared/graphql/request/builders/specification/entity/entity-specification-builder.test.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,11 @@ describe('Entity Specification Builder', () => {
172172
name: 'test-name',
173173
attribute1: 'test-value-attrib1',
174174
attribute2: 'test-value-attrib2',
175-
status: TraceStatusType.FAIL,
176-
statusCode: '404',
177-
statusMessage: 'Not Found'
175+
[traceSpec.name]: {
176+
status: TraceStatusType.FAIL,
177+
statusCode: '404',
178+
statusMessage: 'Not Found'
179+
}
178180
});
179181
});
180182

0 commit comments

Comments
 (0)