-
Notifications
You must be signed in to change notification settings - Fork 178
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
400 additions
and
0 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
protocol-designer/src/file-data/__tests__/pythonProtocol.test.tsx
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { describe, it, expect, vi, beforeEach } from 'vitest' | ||
Check failure on line 1 in protocol-designer/src/file-data/__tests__/pythonProtocol.test.tsx GitHub Actions / js checks
Check failure on line 1 in protocol-designer/src/file-data/__tests__/pythonProtocol.test.tsx GitHub Actions / js checks
|
||
import genPythonProtocol from '../selectors/pythonProtocol' | ||
import { FLEX_ROBOT_TYPE } from '@opentrons/shared-data'; | ||
|
||
describe('Python', () => { | ||
|
||
it('should render Python protocol', () => { | ||
console.log(genPythonProtocol({ | ||
fileMetadata: { | ||
protocolName: 'My Protocol', | ||
author: [1.23, 'cat', true, false, null, undefined, -1./0, {nested: 42, hm: 43}, 0./0], | ||
}, | ||
robotType: FLEX_ROBOT_TYPE, | ||
})); | ||
}); | ||
|
||
}) |
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
Oops, something went wrong.