Merge branch 'master' into fix/401
Project CI / AI game creator shell Rust shard 1/4 (pull_request) Failing after 6m31s
Project CI / AI game creator shell Rust smoke (pull_request) Successful in 1m52s
Project CI / AI game creator shell Rust shard 3/4 (pull_request) Failing after 5m42s
Project CI / AI game creator shell Rust shard 2/4 (pull_request) Failing after 6m21s
Project CI / AI game creator shell Rust shard 4/4 (pull_request) Failing after 6m20s
Project CI / AI game creator shell Rust crates (pull_request) Successful in 2m51s
Project CI / Native shell tests (pull_request) Failing after 2m56s
Project CI / AI game creator shell web tests (pull_request) Failing after 47s
Project CI / Frontend tests (pull_request) Successful in 4m27s
Project CI / Repository checks (pull_request) Successful in 3m32s
Project CI / Backend tests (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 1/4 (pull_request) Failing after 6m31s
Project CI / AI game creator shell Rust smoke (pull_request) Successful in 1m52s
Project CI / AI game creator shell Rust shard 3/4 (pull_request) Failing after 5m42s
Project CI / AI game creator shell Rust shard 2/4 (pull_request) Failing after 6m21s
Project CI / AI game creator shell Rust shard 4/4 (pull_request) Failing after 6m20s
Project CI / AI game creator shell Rust crates (pull_request) Successful in 2m51s
Project CI / Native shell tests (pull_request) Failing after 2m56s
Project CI / AI game creator shell web tests (pull_request) Failing after 47s
Project CI / Frontend tests (pull_request) Successful in 4m27s
Project CI / Repository checks (pull_request) Successful in 3m32s
Project CI / Backend tests (pull_request) Has been cancelled
This commit is contained in:
@@ -12,6 +12,7 @@ import userEvent from '@testing-library/user-event';
|
||||
import { type ContextType, startTransition, Suspense } from 'react';
|
||||
import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
|
||||
|
||||
import { clearSignedAssetReadUrlCache } from '../../services/assetReadUrlService';
|
||||
import { AuthUiContext } from '../auth/AuthUiContext';
|
||||
import { CreationLandingView } from './CreationLandingView';
|
||||
|
||||
@@ -153,6 +154,7 @@ function SuspendAfterLandingRender({ active }: { active: boolean }) {
|
||||
|
||||
describe('CreationLandingView', () => {
|
||||
beforeEach(() => {
|
||||
clearSignedAssetReadUrlCache();
|
||||
listPublicEditorProjectResourcesMock.mockResolvedValue([]);
|
||||
});
|
||||
|
||||
@@ -161,6 +163,7 @@ describe('CreationLandingView', () => {
|
||||
listPublicEditorProjectResourcesMock.mockReset();
|
||||
createEditorProjectMock.mockReset();
|
||||
toggleEditorShowcaseAssetLikeMock.mockReset();
|
||||
clearSignedAssetReadUrlCache();
|
||||
vi.restoreAllMocks();
|
||||
vi.unstubAllGlobals();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user