screenshot updated
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 40 KiB |
@ -1,6 +1,11 @@
|
||||
import { test, expect } from "vitest";
|
||||
import { readable } from "svelte/store";
|
||||
import { test, expect, vi } from "vitest";
|
||||
import { render } from "@testing-library/svelte";
|
||||
|
||||
vi.mock("$app/stores", () => ({
|
||||
page: readable({ url: { pathname: "/" } }),
|
||||
}));
|
||||
|
||||
import MainLayout from "./MainLayout.svelte";
|
||||
|
||||
test("we have an editor link", () => {
|
||||
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 40 KiB |