-
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.
feat(app): setup advanced settings/tip management state for quick tra…
- Loading branch information
1 parent
d6f02a2
commit 8906a37
Showing
27 changed files
with
848 additions
and
321 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
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
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
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
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
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
30 changes: 30 additions & 0 deletions
30
...c/organisms/QuickTransferFlow/__tests__/utils/generateCompatibleLabwareForPipette.test.ts
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,30 @@ | ||
import { describe, it, expect } from 'vitest' | ||
import { generateCompatibleLabwareForPipette } from '../../utils' | ||
import { | ||
SINGLE_CHANNEL_COMPATIBLE_LABWARE, | ||
EIGHT_CHANNEL_COMPATIBLE_LABWARE, | ||
NINETY_SIX_CHANNEL_COMPATIBLE_LABWARE, | ||
} from '../../constants' | ||
|
||
// if one of these fails, it is likely that a new definition has been added | ||
// and you need to regenerate the lists stored at ../constants | ||
describe('generateCompatibleLabwareForPipette', () => { | ||
it('generates the list for single channel pipettes', () => { | ||
const compatibleLabwareUris = generateCompatibleLabwareForPipette({ | ||
channels: 1, | ||
} as any) | ||
expect(compatibleLabwareUris).toEqual(SINGLE_CHANNEL_COMPATIBLE_LABWARE) | ||
}) | ||
it('generates the list for eight channel pipettes', () => { | ||
const compatibleLabwareUris = generateCompatibleLabwareForPipette({ | ||
channels: 8, | ||
} as any) | ||
expect(compatibleLabwareUris).toEqual(EIGHT_CHANNEL_COMPATIBLE_LABWARE) | ||
}) | ||
it('generates the list for 96 channel pipettes', () => { | ||
const compatibleLabwareUris = generateCompatibleLabwareForPipette({ | ||
channels: 96, | ||
} as any) | ||
expect(compatibleLabwareUris).toEqual(NINETY_SIX_CHANNEL_COMPATIBLE_LABWARE) | ||
}) | ||
}) |
Oops, something went wrong.