Skip to content

Commit

Permalink
fix: add forgotten test files
Browse files Browse the repository at this point in the history
  • Loading branch information
luigieai authored and raisiqueira committed May 17, 2023
1 parent 8bc34fb commit 58649c9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/__tests__/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ describe('eruption-cli', () => {
// // Simulate the user pressing the down arrow key and then the enter key. (We're removing vscode folder)
userEvent.keyboard(`${CLIUserEvents.ArrowDown}${CLIUserEvents.Enter}`);

const docker = await findByText(/Do you want to include Docker support?/i);
expect(docker).toBeTruthy();
// // Simulate the user pressing the down arrow key and then the enter key. (We're removing vscode folder)
userEvent.keyboard(`${CLIUserEvents.ArrowDown}${CLIUserEvents.Enter}`);

// Simulate the user pressing the down arrow key and then the enter key. (For now, we are selecting the core kit)
const confirm = await findByText(/Do you want to continue/i);
expect(confirm).toBeTruthy();
Expand Down

0 comments on commit 58649c9

Please sign in to comment.