Skip to content

Commit ea00bbb

Browse files
committed
Fix linter errors
1 parent c1ff21e commit ea00bbb

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

packages/api/src/controllers/ai.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -375,9 +375,7 @@ function getOpenAIModel(): LanguageModel {
375375
const apiKey = config.AI_API_KEY;
376376

377377
if (!apiKey) {
378-
throw new Error(
379-
'No API key defined for OpenAI provider. Set AI_API_KEY.',
380-
);
378+
throw new Error('No API key defined for OpenAI provider. Set AI_API_KEY.');
381379
}
382380

383381
if (!config.AI_MODEL_NAME) {

packages/app/tests/e2e/core/navigation.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ test.describe('Navigation', { tag: ['@core'] }, () => {
8888
});
8989
},
9090
);
91+
9192
test('should open user menu', async ({ page }) => {
9293
await test.step('Navigate to and click user menu trigger', async () => {
9394
// Wait for page to be fully loaded first

packages/app/tests/e2e/features/dashboard.spec.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ test.describe('Dashboard', { tag: ['@dashboard'] }, () => {
6969
});
7070

7171
let dashboardUrl: string;
72+
7273
await test.step('Save dashboard URL', async () => {
7374
dashboardUrl = dashboardPage.page.url();
7475
console.log(`Dashboard URL: ${dashboardUrl}`);
@@ -113,8 +114,10 @@ test.describe('Dashboard', { tag: ['@dashboard'] }, () => {
113114
await expect(dashboardTiles).toHaveCount(1);
114115
});
115116
});
117+
116118
test('Comprehensive dashboard workflow - create, add tiles, configure, and test', async () => {
117119
test.setTimeout(60000);
120+
118121
await test.step('Create new dashboard', async () => {
119122
await expect(dashboardPage.createButton).toBeVisible();
120123
await dashboardPage.createNewDashboard();
@@ -347,6 +350,7 @@ test.describe('Dashboard', { tag: ['@dashboard'] }, () => {
347350
});
348351

349352
let dashboardUrl: string;
353+
350354
await test.step('Save dashboard URL', async () => {
351355
dashboardUrl = dashboardPage.page.url();
352356
console.log(`Dashboard URL: ${dashboardUrl}`);

packages/app/tests/e2e/features/search/saved-search.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,7 @@ test.describe('Saved Search Functionality', () => {
431431

432432
let savedSearchUrl: string;
433433
let appliedFilterValue: string;
434+
434435
await test.step('Apply filters in the sidebar', async () => {
435436
const [picked] = await searchPage.filters.pickVisibleFilterValues(
436437
'SeverityText',

0 commit comments

Comments
 (0)