Skip to content

Commit 4c20c56

Browse files
committed
chore: fixed tests
Signed-off-by: Evzen Gasta <[email protected]>
1 parent b790b86 commit 4c20c56

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/frontend/src/pages/instructlab/AboutInstructLab.spec.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ const mockConfiguration: Writable<ExtensionConfiguration> = writable({
5959
modelUploadDisabled: false,
6060
experimentalTuning: false,
6161
showGPUPromotion: false,
62+
inferenceRuntime: 'llama-cpp',
6263
appearance: 'dark',
6364
});
6465

@@ -75,6 +76,7 @@ test('renders Start Fine Tuning button if experimentalTuning is true', async ()
7576
modelUploadDisabled: false,
7677
modelsPath: '',
7778
experimentalTuning: true,
79+
inferenceRuntime: 'llama-cpp',
7880
apiPort: -1,
7981
appearance: 'dark',
8082
});
@@ -89,6 +91,7 @@ test('does not render Start Fine Tuning button if experimentalTuning is false',
8991
modelUploadDisabled: false,
9092
modelsPath: '',
9193
experimentalTuning: false,
94+
inferenceRuntime: 'llama-cpp',
9295
apiPort: -1,
9396
appearance: 'dark',
9497
});
@@ -103,6 +106,7 @@ test('navigates to /tune/start when Start Fine Tuning is clicked', async () => {
103106
modelUploadDisabled: false,
104107
modelsPath: '',
105108
experimentalTuning: true,
109+
inferenceRuntime: 'llama-cpp',
106110
apiPort: -1,
107111
appearance: 'dark',
108112
});

0 commit comments

Comments
 (0)