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 d4984c0 commit b04a5edCopy full SHA for b04a5ed
1 file changed
samples/openapi3/client/petstore/typescript/tests/one-of/test/api/DefaultApi.test.ts
@@ -1,6 +1,6 @@
1
import * as petstore from 'ts-petstore-client'
2
-import { BASE_URL } from './server';
3
-import { expect } from "chai";
+import {BASE_URL} from './server';
+import {expect} from "chai";
4
5
const server = new petstore.ServerConfiguration(BASE_URL, {})
6
const configuration = petstore.createConfiguration({
@@ -18,6 +18,6 @@ describe("Test oneOf API methods", () => {
18
19
it("With discriminator", async () => {
20
const response = await DefaultApi.testDiscriminator();
21
- expect(response).to.be.instanceof(petstore.Dog);
+ expect(response).to.be.instanceof(petstore.Cat);
22
})
23
0 commit comments