acenturyandabit / acenturyandabit/workflowish
Sweep: Write more comprehensive tests for commands.tsx based on commands.test.tsx
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Checklist
- [X] `src/Workflowish/Subcomponents/OmnibarWrapper/Specializations/commands.test.tsx`
> * Add a new test case for the 'g' command in the commands array. This test case should simulate a situation where the 'g' command is used, and then assert that the focusItem function is called with the correct arguments.
> • Add a new test case for the 'l' command in the commands array. This test case should simulate a situation where the 'l' command is used, and then assert that the createNewLink function is called.
> • Add a new test case for the 'm' command in the commands array. This test case should simulate a situation where the 'm' command is used, and then assert that the moveItem function is called and that the focusItem function is called with the correct arguments.
> • Add a new test case for the 'ma' command in the commands array. This test case should simulate a situation where the 'ma' command is used, and then assert that the moveItem function is called and that the focusItem function is called with the correct arguments.
> • Add a new test case for the 'lc' command in the commands array. This test case should simulate a situation where the 'lc' command is used, and then assert that the createNewLink function is called.
> • Add a new test case for the 'cl' command in the commands array. This test case should simulate a situation where the 'cl' command is used, and then assert that the copySymlink function is called.
> • Add a new test case for the 'clu' command in the commands array. This test case should simulate a situation where the 'clu' command is used, and then assert that the copySymlink function is called.
> • Add a new test case for the 'ml' command in the commands array. This test case should simulate a situation where the 'ml' command is used, and then assert that the copySymlink function is called.
> • Add a new test case for the 'mla' command in the commands array. This test case should simulate a situation where the 'mla' command is used, and then assert that the copySymlink function is called.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.