Skip to content

Change email address (Vitest)

### ✅ Change email address
- **Given** the user account exists
- **And** the user is logged in
- **When** the user updates their email to "[email protected]"
- **Then** a verification email should be sent
- **And** the email status should be "pending verification"
describe("Feature: Account settings", () => {
it("Change email address", ({ task }) => {
story.init(task);
story.given("the user account exists");
story.given("the user is logged in");
story.when('the user updates their email to "[email protected]"');
story.then("a verification email should be sent");
story.then('the email status should be "pending verification"');
});
});