-
Notifications
You must be signed in to change notification settings - Fork 180
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(protocol-designer): fix createFile() test and delete unused `ot2R…
…obot` constant (#17472) # Overview In `createFile(..., robotType=...)`, the `robotType` needs to be a string, but the test was incorrectly calling the function with an object instead. We previously defined a constant object `ot2Robot = { model: OT2_ROBOT_TYPE, deckId: OT2_STANDARD_DECKID }` for tests, but nothing uses it anymore, so we can just delete it. ## Test Plan and Hands on Testing Updated unit tests and confirmed that they pass. ## Risk assessment Low, this just fixes an incorrect unit test.
- Loading branch information
Showing
2 changed files
with
3 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters