Skip to content

Commit

Permalink
chore: run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorKarpiuk committed Jul 26, 2023
1 parent 08f0894 commit 21c6648
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ extends:
- minimal
theme:
openapi:
htmlTemplate: ../index.hbs
htmlTemplate: ../index.hbs
6 changes: 2 additions & 4 deletions __tests__/commands.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -379,9 +379,7 @@ describe('E2E', () => {

test('simple build-docs', () => {
const testPath = join(folderPath, 'simple-build-docs');
const args = getParams('../../../packages/cli/src/index.ts', 'build-docs', [
'pets.yaml',
]);
const args = getParams('../../../packages/cli/src/index.ts', 'build-docs', ['pets.yaml']);
const result = getCommandOutput(args, testPath);
(<any>expect(result)).toMatchSpecificSnapshot(join(testPath, 'snapshot.js'));

Expand All @@ -399,7 +397,7 @@ describe('E2E', () => {
(<any>expect(result)).toMatchSpecificSnapshot(join(testPath, 'snapshot.js'));

expect(fs.existsSync(join(testPath, 'nested/redoc-static.html'))).toEqual(true);
expect(fs.statSync(join(testPath, 'nested/redoc-static.html')).size).toEqual(38839)
expect(fs.statSync(join(testPath, 'nested/redoc-static.html')).size).toEqual(38839);
});
});
});

0 comments on commit 21c6648

Please sign in to comment.