diff --git a/forge/routes/ui/avatar.js b/forge/routes/ui/avatar.js index 9cf789a1c1..b1e04a0f64 100644 --- a/forge/routes/ui/avatar.js +++ b/forge/routes/ui/avatar.js @@ -3,7 +3,7 @@ module.exports = async function (app) { const identifier = request.params.id if (identifier === 'camera.svg') { const result = - ` + ` ` diff --git a/forge/services/snapshots.js b/forge/services/snapshots.js index 6bb498d6d5..ef9e65ba12 100644 --- a/forge/services/snapshots.js +++ b/forge/services/snapshots.js @@ -1,7 +1,7 @@ const extractNameRegex = - /(?:(?.*) - )?Deploy Snapshot - \d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}/ + /(?:(?.*) - )?Deploy Snapshot - \d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}/ const extractDescriptionRegex = - /Snapshot created for pipeline deployment from .* to .* as part of pipeline .*/ + /Snapshot created for pipeline deployment from .* to .* as part of pipeline .*/ async function setSnapShotAsTarget (app, snapshot, instance, user) { await snapshot.reload() diff --git a/test/unit/frontend/stores/account-settings.spec.js b/test/unit/frontend/stores/account-settings.spec.js index 96fa3b03ec..1a5eda9f27 100644 --- a/test/unit/frontend/stores/account-settings.spec.js +++ b/test/unit/frontend/stores/account-settings.spec.js @@ -87,7 +87,7 @@ describe('account-settings store', () => { describe('loadPosthogFlags', () => { it('stores the flag values PostHog reports', () => { - const onFeatureFlags = vi.fn((cb) => cb(['MCP_THIRD_PARTY'], { MCP_THIRD_PARTY: true })) + const onFeatureFlags = vi.fn((onFlags) => onFlags(['MCP_THIRD_PARTY'], { MCP_THIRD_PARTY: true })) window.posthog = { onFeatureFlags } const store = useAccountSettingsStore() diff --git a/test/unit/frontend/subscribers/applications.subscriber.spec.js b/test/unit/frontend/subscribers/applications.subscriber.spec.js index 8fd8757db1..c8c9d9e777 100644 --- a/test/unit/frontend/subscribers/applications.subscriber.spec.js +++ b/test/unit/frontend/subscribers/applications.subscriber.spec.js @@ -1,4 +1,3 @@ -/* eslint-env browser */ import { afterEach, beforeEach, describe, expect, test, vi } from 'vitest' const getTeamCommsCreds = vi.fn() diff --git a/test/unit/frontend/subscribers/hosted-instances.subscriber.spec.js b/test/unit/frontend/subscribers/hosted-instances.subscriber.spec.js index 26ce1eaa3a..f59e5d3917 100644 --- a/test/unit/frontend/subscribers/hosted-instances.subscriber.spec.js +++ b/test/unit/frontend/subscribers/hosted-instances.subscriber.spec.js @@ -1,4 +1,3 @@ -/* eslint-env browser */ import { afterEach, beforeEach, describe, expect, test, vi } from 'vitest' const getTeamCommsCreds = vi.fn() diff --git a/test/unit/frontend/subscribers/live-status.subscriber.spec.js b/test/unit/frontend/subscribers/live-status.subscriber.spec.js index deeee89bbc..385549f0d8 100644 --- a/test/unit/frontend/subscribers/live-status.subscriber.spec.js +++ b/test/unit/frontend/subscribers/live-status.subscriber.spec.js @@ -1,4 +1,3 @@ -/* eslint-env browser */ import { afterEach, beforeEach, describe, expect, test, vi } from 'vitest' const getTeamCommsCreds = vi.fn()