acenturyandabit / acenturyandabit/workflowish
Sweep: Write more comprehensive tests for commands.tsx based on commands.test.tsx
- Lingua principale
- TypeScript
- Stelle
- 0
- Fork
- 1
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.