Upgrade linter and formatter to Ultracite (#1224)

This commit is contained in:
Hayden Bleasel 2025-09-20 12:47:10 -07:00 committed by GitHub
parent b1d254283b
commit 0e320b391d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
177 changed files with 6951 additions and 8342 deletions

View file

@ -1,8 +1,8 @@
import { expect, test } from '../fixtures';
import { ChatPage } from '../pages/chat';
import { ArtifactPage } from '../pages/artifact';
import { expect, test } from "../fixtures";
import { ArtifactPage } from "../pages/artifact";
import { ChatPage } from "../pages/chat";
test.describe('Artifacts activity', () => {
test.describe("Artifacts activity", () => {
let chatPage: ChatPage;
let artifactPage: ArtifactPage;
@ -13,12 +13,12 @@ test.describe('Artifacts activity', () => {
await chatPage.createNewChat();
});
test('Create a text artifact', async () => {
test("Create a text artifact", async () => {
test.fixme();
await chatPage.createNewChat();
await chatPage.sendUserMessage(
'Help me write an essay about Silicon Valley',
"Help me write an essay about Silicon Valley"
);
await artifactPage.isGenerationComplete();
@ -26,18 +26,18 @@ test.describe('Artifacts activity', () => {
const assistantMessage = await chatPage.getRecentAssistantMessage();
expect(assistantMessage.content).toBe(
'A document was created and is now visible to the user.',
"A document was created and is now visible to the user."
);
await chatPage.hasChatIdInUrl();
});
test('Toggle artifact visibility', async () => {
test("Toggle artifact visibility", async () => {
test.fixme();
await chatPage.createNewChat();
await chatPage.sendUserMessage(
'Help me write an essay about Silicon Valley',
"Help me write an essay about Silicon Valley"
);
await artifactPage.isGenerationComplete();
@ -45,19 +45,19 @@ test.describe('Artifacts activity', () => {
const assistantMessage = await chatPage.getRecentAssistantMessage();
expect(assistantMessage.content).toBe(
'A document was created and is now visible to the user.',
"A document was created and is now visible to the user."
);
await artifactPage.closeArtifact();
await chatPage.isElementNotVisible('artifact');
await chatPage.isElementNotVisible("artifact");
});
test('Send follow up message after generation', async () => {
test("Send follow up message after generation", async () => {
test.fixme();
await chatPage.createNewChat();
await chatPage.sendUserMessage(
'Help me write an essay about Silicon Valley',
"Help me write an essay about Silicon Valley"
);
await artifactPage.isGenerationComplete();
@ -65,10 +65,10 @@ test.describe('Artifacts activity', () => {
const assistantMessage = await artifactPage.getRecentAssistantMessage();
expect(assistantMessage.content).toBe(
'A document was created and is now visible to the user.',
"A document was created and is now visible to the user."
);
await artifactPage.sendUserMessage('Thanks!');
await artifactPage.sendUserMessage("Thanks!");
await artifactPage.isGenerationComplete();
const secondAssistantMessage = await chatPage.getRecentAssistantMessage();