Skip to content

Commit

Permalink
test: . Move QueryRendererHelper.ts closer to the other Query-related…
Browse files Browse the repository at this point in the history
… code
  • Loading branch information
claremacrae committed Dec 1, 2024
1 parent ad41f61 commit 7ff004e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import type { GlobalFilter } from '../Config/GlobalFilter';
import type { GlobalQuery } from '../Config/GlobalQuery';
import { Query } from '../Query/Query';
import { Explainer } from '../Query/Explain/Explainer';
import type { OptionalTasksFile } from '../Scripting/TasksFile';
import { Query } from './Query';
import { Explainer } from './Explain/Explainer';

/**
* @summary
Expand Down
2 changes: 1 addition & 1 deletion src/Renderer/QueryRenderer.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { type EventRef, type MarkdownPostProcessorContext, MarkdownRenderChild, MarkdownRenderer } from 'obsidian';
import { App, Keymap } from 'obsidian';
import { GlobalQuery } from '../Config/GlobalQuery';
import { getQueryForQueryRenderer } from '../lib/QueryRendererHelper';
import { getQueryForQueryRenderer } from '../Query/QueryRendererHelper';
import type TasksPlugin from '../main';
import type { State } from '../Obsidian/Cache';
import { getTaskLineAndFile, replaceTaskWithTasks } from '../Obsidian/File';
Expand Down
2 changes: 1 addition & 1 deletion src/Renderer/QueryResultsRenderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import type { IQuery } from '../IQuery';
import { QueryLayout } from '../Layout/QueryLayout';
import { TaskLayout } from '../Layout/TaskLayout';
import { PerformanceTracker } from '../lib/PerformanceTracker';
import { explainResults, getQueryForQueryRenderer } from '../lib/QueryRendererHelper';
import { explainResults, getQueryForQueryRenderer } from '../Query/QueryRendererHelper';
import { State } from '../Obsidian/Cache';
import type { GroupDisplayHeading } from '../Query/Group/GroupDisplayHeading';
import type { TaskGroups } from '../Query/Group/TaskGroups';
Expand Down
2 changes: 1 addition & 1 deletion tests/Query/QueryRendererHelper.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/
import moment from 'moment';
import { Query } from '../../src/Query/Query';
import { explainResults, getQueryForQueryRenderer } from '../../src/lib/QueryRendererHelper';
import { explainResults, getQueryForQueryRenderer } from '../../src/Query/QueryRendererHelper';
import { GlobalFilter } from '../../src/Config/GlobalFilter';
import { GlobalQuery } from '../../src/Config/GlobalQuery';
import { TasksFile } from '../../src/Scripting/TasksFile';
Expand Down
2 changes: 1 addition & 1 deletion tests/TestingTools/ApprovalTestHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { verify } from 'approvals/lib/Providers/Jest/JestApprovals';
import type { GlobalFilter } from '../../src/Config/GlobalFilter';
import type { GlobalQuery } from '../../src/Config/GlobalQuery';
import { Query } from '../../src/Query/Query';
import { explainResults } from '../../src/lib/QueryRendererHelper';
import { explainResults } from '../../src/Query/QueryRendererHelper';
import type { Task } from '../../src/Task/Task';
import { TasksFile } from '../../src/Scripting/TasksFile';
import { verifyMarkdown } from './VerifyMarkdown';
Expand Down

0 comments on commit 7ff004e

Please sign in to comment.