mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-19 01:06:36 +00:00
Convert drive-constraints.spec.ts to typescript
Change-type: patch
This commit is contained in:
parent
e1c3c80c0f
commit
a4e87982a6
@ -50,31 +50,31 @@ export const info = {
|
||||
};
|
||||
|
||||
export const compatibility = {
|
||||
sizeNotRecommended() {
|
||||
sizeNotRecommended: () => {
|
||||
return 'Not Recommended';
|
||||
},
|
||||
|
||||
tooSmall(additionalSpace: string) {
|
||||
tooSmall: (additionalSpace: string) => {
|
||||
return `Insufficient space, additional ${additionalSpace} required`;
|
||||
},
|
||||
|
||||
locked() {
|
||||
locked: () => {
|
||||
return 'Locked';
|
||||
},
|
||||
|
||||
system() {
|
||||
system: () => {
|
||||
return 'System Drive';
|
||||
},
|
||||
|
||||
containsImage() {
|
||||
containsImage: () => {
|
||||
return 'Drive Mountpoint Contains Image';
|
||||
},
|
||||
|
||||
// The drive is large and therefore likely not a medium you want to write to.
|
||||
largeDrive() {
|
||||
largeDrive: () => {
|
||||
return 'Large Drive';
|
||||
},
|
||||
};
|
||||
} as const;
|
||||
|
||||
export const warning = {
|
||||
unrecommendedDriveSize: (
|
||||
|
File diff suppressed because it is too large
Load Diff
1629
tests/shared/drive-constraints.spec.ts
Normal file
1629
tests/shared/drive-constraints.spec.ts
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user