Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
guyca committed Sep 19, 2024
1 parent 0ea6b61 commit 6599a65
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/react-obsidian/src/decorators/LifecycleBound.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { defineMetadata } from "../utils/reflect";
import { defineMetadata } from '../utils/reflect';

type Options = {
scope?: 'component' | 'feature';
Expand Down
3 changes: 1 addition & 2 deletions packages/react-obsidian/src/decorators/Singleton.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { defineMetadata } from "../utils/reflect";
import { defineMetadata } from '../utils/reflect';

export function singleton() {
return function singleton(
Expand All @@ -8,4 +8,3 @@ export function singleton() {
return target;
};
}

Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ describe('Test doubles', () => {
expect(stringToCompare).toBe('Mocked');
});

it('Mocks graphs when using Obsidian.obtain on a Singleton graph'
+ 'even after the singleton graph was already registered in graph registry', () => {
it('Mocks graphs when using Obsidian.obtain on a Singleton graph even after the singleton graph was already registered in graph registry', () => {
registerSingletonGraphBeforeMocking();

const stringToCompare = Obsidian.obtain(SingletonGraph).instanceId();
Expand Down

0 comments on commit 6599a65

Please sign in to comment.