Skip to content

Commit a8e6ef1

Browse files
committed
Fix error in content types spec
Insanely, somehow webpack & ts-node still manage to build and run this test so it passes? For real - it really runs. Very odd.
1 parent 1661ee4 commit a8e6ef1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/unit/model/http/content-types.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ describe('Content type parsing', () => {
134134
const cts = getCompatibleTypes('grpc-proto', 'application/grpc+proto', undefined);
135135
expect(cts).to.deep.equal({
136136
preferredContentType: 'grpc-proto',
137-
availableContentTypes: ['grpc-proto', 'text', 'raw'
138-
}
137+
availableContentTypes: ['grpc-proto', 'text', 'raw']
138+
});
139139
});
140140

141141
it('should flag application/grpc+json as compatible with [grpc-proto,text,raw]', () => {

0 commit comments

Comments
 (0)