Skip to content

Commit

Permalink
adapt tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MrSmoer committed Jan 25, 2023
1 parent a874928 commit 26c6603
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions tests/lsblk.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ describe('Drivelist', () => {
isSCSI: null,
isUSB: null,
isUAS: null,
attachTimestamp: null,
},
];

Expand Down Expand Up @@ -118,6 +119,7 @@ describe('Drivelist', () => {
isSCSI: null,
isUSB: null,
isUAS: null,
attachTimestamp: null,
},
{
enumerator: 'lsblk:pairs',
Expand Down Expand Up @@ -150,6 +152,7 @@ describe('Drivelist', () => {
isSCSI: null,
isUSB: null,
isUAS: null,
attachTimestamp: null,
},
];

Expand Down Expand Up @@ -190,6 +193,7 @@ describe('Drivelist', () => {
isSCSI: null,
isUSB: null,
isUAS: null,
attachTimestamp: null,
},
{
enumerator: 'lsblk:json',
Expand Down Expand Up @@ -226,6 +230,7 @@ describe('Drivelist', () => {
isSCSI: null,
isUSB: null,
isUAS: null,
attachTimestamp: null,
},
];

Expand Down Expand Up @@ -263,6 +268,7 @@ describe('Drivelist', () => {
isSCSI: null,
isUSB: null,
isUAS: null,
attachTimestamp: null,
},
{
enumerator: 'lsblk:pairs',
Expand All @@ -286,6 +292,7 @@ describe('Drivelist', () => {
isSCSI: null,
isUSB: null,
isUAS: null,
attachTimestamp: null,
},
{
enumerator: 'lsblk:pairs',
Expand All @@ -309,6 +316,7 @@ describe('Drivelist', () => {
isSCSI: null,
isUSB: null,
isUAS: null,
attachTimestamp: null,
},
{
enumerator: 'lsblk:pairs',
Expand Down Expand Up @@ -342,6 +350,7 @@ describe('Drivelist', () => {
isSCSI: null,
isUSB: null,
isUAS: null,
attachTimestamp: null,
},
{
enumerator: 'lsblk:pairs',
Expand Down Expand Up @@ -370,6 +379,7 @@ describe('Drivelist', () => {
isSCSI: null,
isUSB: null,
isUAS: null,
attachTimestamp: null,
},
];

Expand All @@ -387,6 +397,7 @@ describe('Drivelist', () => {

const expected = [
{
attachTimestamp: null,
blockSize: 512,
busType: 'UNKNOWN',
busVersion: null,
Expand Down Expand Up @@ -419,6 +430,7 @@ describe('Drivelist', () => {
size: 240065183744,
},
{
attachTimestamp: null,
blockSize: 512,
busType: 'UNKNOWN',
busVersion: null,
Expand All @@ -442,6 +454,7 @@ describe('Drivelist', () => {
size: null,
},
{
attachTimestamp: null,
blockSize: 512,
busType: 'UNKNOWN',
busVersion: null,
Expand Down

0 comments on commit 26c6603

Please sign in to comment.