Skip to content

Commit

Permalink
unit tests dont work. see raycast#1803
Browse files Browse the repository at this point in the history
  • Loading branch information
Dru89 committed Jun 1, 2022
1 parent 7425cba commit b126d7f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions extensions/obsidian-bookmarks/src/raycast.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
declare module "@raycast/api" {
export function openCommandPreferences(): Promise<void>;
export function openExtensionPreferences(): Promise<void>;
}
2 changes: 1 addition & 1 deletion extensions/obsidian-bookmarks/src/sample.test.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { render } from "@testing-library/react";
import { Detail } from "@raycast/api";
import { openCommandPreferences } from "@raycast/api";

describe("sample test", () => {
it("can run a simple test", () => {
Expand Down

0 comments on commit b126d7f

Please sign in to comment.