Apply repository-wide ESLint auto-fix formatting pass
Co-Authored-By: Codex <codex@openai.com>
This commit is contained in:
@@ -3,20 +3,20 @@
|
||||
// Authors:
|
||||
// imacat.yang@dsp.im (imacat), 2026/03/05
|
||||
|
||||
import { describe, it, expect } from 'vitest';
|
||||
import { mount } from '@vue/test-utils';
|
||||
import Search from '@/components/Search.vue';
|
||||
import { describe, it, expect } from "vitest";
|
||||
import { mount } from "@vue/test-utils";
|
||||
import Search from "@/components/Search.vue";
|
||||
|
||||
describe('Search', () => {
|
||||
it('renders search form', () => {
|
||||
describe("Search", () => {
|
||||
it("renders search form", () => {
|
||||
const wrapper = mount(Search);
|
||||
expect(wrapper.find('form[role="search"]').exists()).toBe(true);
|
||||
});
|
||||
|
||||
it('contains search input', () => {
|
||||
it("contains search input", () => {
|
||||
const wrapper = mount(Search);
|
||||
const input = wrapper.find('input[type="search"]');
|
||||
expect(input.exists()).toBe(true);
|
||||
expect(input.attributes('placeholder')).toBe('Search Activity');
|
||||
expect(input.attributes("placeholder")).toBe("Search Activity");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user