1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-10 17:53:36 +02:00

fix: Updated snapshot to not include api version

This commit is contained in:
Christopher Kolstad 2022-09-19 10:48:13 +02:00
parent 7ada7dbfe3
commit 13b3a7eb8a
No known key found for this signature in database
GPG Key ID: 403C00EF916FCD34
2 changed files with 1 additions and 1 deletions

View File

@ -3316,7 +3316,6 @@ exports[`should serve the OpenAPI spec 1`] = `
},
"info": {
"title": "Unleash API",
"version": "4.15.3",
},
"openapi": "3.0.3",
"paths": {

View File

@ -32,6 +32,7 @@ test('should serve the OpenAPI spec', async () => {
.expect((res) => {
// This test will fail whenever there's a change to the API spec.
// If the change is intended, update the snapshot with `jest -u`.
delete res.body.info.version;
expect(res.body).toMatchSnapshot();
});
});