Skip to content

Commit

Permalink
Merge pull request #31 from lyu4321/add-more-tests
Browse files Browse the repository at this point in the history
Put all docs for testing in one folder
  • Loading branch information
lyu4321 committed Nov 16, 2021
2 parents cc5c7f0 + e68c3d8 commit 1c04e72
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions tests/e2e.test.js
Expand Up @@ -35,7 +35,7 @@ describe('E2E integration', () => {
test('Prints error message when empty folder', async () => {
const { stderr, stdout, exitCode } = await run(
'--input',
'invalid-folder'
'test-docs/invalid-folder'
);
expect(exitCode).toBe(1);
expect(stderr).toMatchSnapshot();
Expand All @@ -57,7 +57,7 @@ describe('E2E integration', () => {
'--input',
'test-docs/Silver Blaze.txt',
'--output',
'empty-folder'
'test-docs/empty-folder'
);
expect(exitCode).toBe(0);
expect(stdout).toMatchSnapshot();
Expand Down

0 comments on commit 1c04e72

Please sign in to comment.