Skip to content
Closed
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions code/addons/vitest/src/preset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ export const experimental_serverChannel = async (channel: Channel, options: Opti
testProviderStore.setState('test-provider-state:running');
store.setState((s) => ({
...s,
currentRun: storeOptions.initialState.currentRun,
fatalError: undefined,
}));
runTestRunner({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,8 @@ test.describe("component testing", () => {

await runTestsButton.click();
await expect(watchModeButton).toBeDisabled();

await expect(testingModuleDescription).toContainText("Testing");
await expect(testingModuleDescription).toContainText("Starting...");
await expect(testingModuleDescription).toContainText("Testing...");

// Wait for test results to appear
await expect(testingModuleDescription).toHaveText(/Ran \d+ tests/, {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,5 @@ export default defineConfig({
command: "yarn storybook",
url: "http://127.0.0.1:6006",
reuseExistingServer: true,
stdout: "pipe",
stderr: "pipe",
},
});