Skip to content

Commit

Permalink
fix(api): error when host drive partition has no correct host mount
Browse files Browse the repository at this point in the history
fixes #369
  • Loading branch information
MauriceNino committed Sep 16, 2022
1 parent 8bfc576 commit 1e49d4c
Show file tree
Hide file tree
Showing 4 changed files with 448 additions and 6 deletions.
5 changes: 5 additions & 0 deletions apps/api/__TESTS__/dynamic-info.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {
TEST_CASE_1,
TEST_CASE_10,
TEST_CASE_11,
TEST_CASE_12,
TEST_CASE_2,
TEST_CASE_3,
TEST_CASE_4,
Expand Down Expand Up @@ -64,5 +65,9 @@ describe('Dynamic Info', () => {
const output = mapToStorageOutput(...toStorageInp(TEST_CASE_11));
expect(output).to.deep.equal(TEST_CASE_11.output);
});
it('Test Case 12', () => {
const output = mapToStorageOutput(...toStorageInp(TEST_CASE_12));
expect(output).to.deep.equal(TEST_CASE_12.output);
});
});
});
5 changes: 5 additions & 0 deletions apps/api/__TESTS__/static-info.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {
TEST_CASE_1,
TEST_CASE_10,
TEST_CASE_11,
TEST_CASE_12,
TEST_CASE_2,
TEST_CASE_3,
TEST_CASE_4,
Expand Down Expand Up @@ -64,5 +65,9 @@ describe('Static Info', () => {
const output = mapToStorageLayout(...toStorageInp(TEST_CASE_11));
expect(output).to.deep.equal(TEST_CASE_11.layout);
});
it('Test Case 12', () => {
const output = mapToStorageLayout(...toStorageInp(TEST_CASE_12));
expect(output).to.deep.equal(TEST_CASE_12.layout);
});
});
});
Loading

0 comments on commit 1e49d4c

Please sign in to comment.