@microsoft.azure/autorest.testserver
Version:
Autorest test server.
15 lines (14 loc) • 403 B
text/typescript
import { app, json } from "../api";
import { coverageService } from "../services";
app.category("vanilla", () => {
app.get("/incorrectError", "verifyIncorrectErrorParsing", async (req) => {
await coverageService.track("vanilla", "verifyIncorrectErrorParsing");
return {
status: 444,
body: {
contentType: "text/html",
rawContent: "foobar",
},
};
});
});