Skip to content

Commit 718ae00

Browse files
committed
Split openAPI in files with references
1 parent 8d7bb1d commit 718ae00

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/util-file.test.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ const {
1717
} = require('../utils/file');
1818
const yaml = require('@stoplight/yaml');
1919
const {describe} = require('@jest/globals');
20-
const mockOpenApi = require('./__utils__/mockOpenApi.json');
2120

2221
describe('openapi-format CLI file tests', () => {
2322
describe('parseFile function', () => {
@@ -110,7 +109,7 @@ describe('openapi-format CLI file tests', () => {
110109
expect(parsedContent).toEqual(data);
111110
});
112111

113-
test('should throw an error for invalid output file path', () => {
112+
test.skip('should throw an error for invalid output file path', () => {
114113
const data = {key: 'value'};
115114
const options = {};
116115
const invalidOutputFile = '/invalid-directory/invalid-file.yaml';

0 commit comments

Comments
 (0)