Skip to content

Commit

Permalink
Check and test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
allanlasser committed Apr 17, 2024
1 parent 6082511 commit f29e288
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { test, expect } from "vitest";
import { isErrorCode, isRedirectCode } from "./api";
import { isErrorCode, isRedirectCode } from "../api";

test("isErrorCode", () => {
expect(isErrorCode(200)).toBe(false);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { describe, test, it, expect } from "vitest";
import * as files from "./files";
import * as files from "../files";

describe("files.getFileExtensionFromType", () => {
it("returns the second half of a Mimetype", () => {
Expand Down
2 changes: 1 addition & 1 deletion src/routes/(embed)/stories/note-embed.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import document from "$lib/api/fixtures/documents/document-expanded.json";
import note from "$lib/api/fixtures/notes/note-expanded.json";
import notes from "$lib/api/fixtures/notes/notes-expanded.json";
import type { SvelteComponent } from "svelte";
export const meta = {
title: "Embed / Note",
Expand All @@ -28,6 +27,7 @@
embed: true,
me: null,
org: null,
breadcrumbs: [],
};
</script>

Expand Down
1 change: 1 addition & 0 deletions src/routes/(embed)/stories/page-embed.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
embed: false,
me: null,
org: null,
breadcrumbs: [],
};
</script>

Expand Down
1 change: 1 addition & 0 deletions src/routes/(embed)/stories/project-embed.stories.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
embed: true,
me: null,
org: null,
breadcrumbs: [],
};
</script>

Expand Down
1 change: 0 additions & 1 deletion src/routes/+layout.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<script lang="ts">
import type { LayoutData } from "./$types";
import type { Org, User } from "@/api/types/orgAndUser.d.ts";
import type { Breadcrumb } from "@/lib/components/common/Breadcrumbs.svelte";
import { setContext } from "svelte";
import { writable, type Writable } from "svelte/store";
Expand Down

0 comments on commit f29e288

Please sign in to comment.