You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@annotator.apache.org by ge...@apache.org on 2020/07/23 13:42:58 UTC

[incubator-annotator] 03/05: Move test utils.ts one folder up

This is an automated email from the ASF dual-hosted git repository.

gerben pushed a commit to branch tweak-highlighter
in repository https://gitbox.apache.org/repos/asf/incubator-annotator.git

commit 1f43c029ca9342ca9c6a47587c3683fd9df2c3e1
Author: Gerben <ge...@treora.com>
AuthorDate: Thu Jul 23 12:29:17 2020 +0200

    Move test utils.ts one folder up
---
 packages/dom/test/text-quote/describe-cases.ts | 2 +-
 packages/dom/test/text-quote/describe.test.ts  | 2 +-
 packages/dom/test/text-quote/match-cases.ts    | 2 +-
 packages/dom/test/text-quote/match.test.ts     | 2 +-
 packages/dom/test/{text-quote => }/utils.ts    | 0
 5 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/packages/dom/test/text-quote/describe-cases.ts b/packages/dom/test/text-quote/describe-cases.ts
index 129804d..b0fe659 100644
--- a/packages/dom/test/text-quote/describe-cases.ts
+++ b/packages/dom/test/text-quote/describe-cases.ts
@@ -19,7 +19,7 @@
  */
 
 import { TextQuoteSelector } from "../../../selector/src";
-import { RangeInfo } from "./utils";
+import { RangeInfo } from "../utils";
 
 const testCases: {
   [name: string]: {
diff --git a/packages/dom/test/text-quote/describe.test.ts b/packages/dom/test/text-quote/describe.test.ts
index 5b560ff..22dfeeb 100644
--- a/packages/dom/test/text-quote/describe.test.ts
+++ b/packages/dom/test/text-quote/describe.test.ts
@@ -22,7 +22,7 @@ import { assert } from 'chai';
 import { describeTextQuote } from '../../src/text-quote/describe';
 import testCases from './describe-cases';
 import testMatchCases from './match-cases';
-import { hydrateRange, evaluateXPath } from './utils';
+import { hydrateRange, evaluateXPath } from '../utils';
 
 const domParser = new window.DOMParser();
 
diff --git a/packages/dom/test/text-quote/match-cases.ts b/packages/dom/test/text-quote/match-cases.ts
index 1748d1d..b4c44a5 100644
--- a/packages/dom/test/text-quote/match-cases.ts
+++ b/packages/dom/test/text-quote/match-cases.ts
@@ -19,7 +19,7 @@
  */
 
 import { TextQuoteSelector } from "../../../selector/src";
-import { RangeInfo } from "./utils";
+import { RangeInfo } from "../utils";
 
 const testCases: {
   [name: string]: {
diff --git a/packages/dom/test/text-quote/match.test.ts b/packages/dom/test/text-quote/match.test.ts
index af6a5d2..c4881aa 100644
--- a/packages/dom/test/text-quote/match.test.ts
+++ b/packages/dom/test/text-quote/match.test.ts
@@ -23,7 +23,7 @@ import { createTextQuoteSelectorMatcher } from '../../src/text-quote/match';
 import { TextQuoteSelector } from '../../../selector/src/types';
 import { DomScope } from '../../src/types';
 import testCases from './match-cases';
-import { evaluateXPath, RangeInfo } from './utils';
+import { evaluateXPath, RangeInfo } from '../utils';
 
 const domParser = new window.DOMParser();
 
diff --git a/packages/dom/test/text-quote/utils.ts b/packages/dom/test/utils.ts
similarity index 100%
rename from packages/dom/test/text-quote/utils.ts
rename to packages/dom/test/utils.ts