diff --git a/jest.config.ts b/jest.config.ts index 255e5170d4..9b5ff4ad45 100644 --- a/jest.config.ts +++ b/jest.config.ts @@ -39,7 +39,7 @@ const config: Config.InitialOptions = { transform, coveragePathIgnorePatterns: [ '/engines/query-sparql/test/util.ts', - '/packages/expression-evaluator/test/util/', + '/packages/utils-expression-evaluator/test/util/', 'engine-default.js', 'index.js', 'node_modules', diff --git a/packages/actor-bindings-aggregator-factory-average/test/ActorBindingsAggregatorFactoryAverage-test.ts b/packages/actor-bindings-aggregator-factory-average/test/ActorBindingsAggregatorFactoryAverage-test.ts index b8cf0c39c8..f6954ff598 100644 --- a/packages/actor-bindings-aggregator-factory-average/test/ActorBindingsAggregatorFactoryAverage-test.ts +++ b/packages/actor-bindings-aggregator-factory-average/test/ActorBindingsAggregatorFactoryAverage-test.ts @@ -11,6 +11,7 @@ import { makeAggregate, } from '@comunica/utils-expression-evaluator/test/util/helpers'; import { ActorBindingsAggregatorFactoryAverage } from '../lib'; +import '@comunica/utils-jest'; describe('ActorBindingsAggregatorFactoryAverage', () => { let bus: any; diff --git a/packages/actor-bindings-aggregator-factory-count/test/ActorBindingsAggregatorFactoryCount-test.ts b/packages/actor-bindings-aggregator-factory-count/test/ActorBindingsAggregatorFactoryCount-test.ts index 9504aa8a65..34a4a8dd75 100644 --- a/packages/actor-bindings-aggregator-factory-count/test/ActorBindingsAggregatorFactoryCount-test.ts +++ b/packages/actor-bindings-aggregator-factory-count/test/ActorBindingsAggregatorFactoryCount-test.ts @@ -11,6 +11,7 @@ import { import { Algebra } from 'sparqlalgebrajs'; import { Wildcard } from 'sparqljs'; import { ActorBindingsAggregatorFactoryCount } from '../lib'; +import '@comunica/utils-jest'; describe('ActorExpressionEvaluatorAggregateCount', () => { let bus: any; diff --git a/packages/actor-bindings-aggregator-factory-group-concat/test/ActorBindingsAggregatorFactoryGroupConcat-test.ts b/packages/actor-bindings-aggregator-factory-group-concat/test/ActorBindingsAggregatorFactoryGroupConcat-test.ts index 77ab93f08a..bae0cc6ba0 100644 --- a/packages/actor-bindings-aggregator-factory-group-concat/test/ActorBindingsAggregatorFactoryGroupConcat-test.ts +++ b/packages/actor-bindings-aggregator-factory-group-concat/test/ActorBindingsAggregatorFactoryGroupConcat-test.ts @@ -10,6 +10,7 @@ import { } from '@comunica/utils-expression-evaluator/test/util/helpers'; import { ArrayIterator } from 'asynciterator'; import { ActorBindingsAggregatorFactoryGroupConcat } from '../lib'; +import '@comunica/utils-jest'; describe('ActorBindingsAggregatorFactoryGroupConcat', () => { let bus: any; diff --git a/packages/actor-bindings-aggregator-factory-max/test/ActorBindingsAggregatorFactoryMax-test.ts b/packages/actor-bindings-aggregator-factory-max/test/ActorBindingsAggregatorFactoryMax-test.ts index d10602c86d..0d35689ff6 100644 --- a/packages/actor-bindings-aggregator-factory-max/test/ActorBindingsAggregatorFactoryMax-test.ts +++ b/packages/actor-bindings-aggregator-factory-max/test/ActorBindingsAggregatorFactoryMax-test.ts @@ -13,6 +13,7 @@ import { } from '@comunica/utils-expression-evaluator/test/util/helpers'; import { ArrayIterator } from 'asynciterator'; import { ActorBindingsAggregatorFactoryMax } from '../lib'; +import '@comunica/utils-jest'; describe('ActorBindingsAggregatorFactoryMax', () => { let bus: any; diff --git a/packages/actor-bindings-aggregator-factory-min/test/ActorBindingsAggregatorFactoryMin-test.ts b/packages/actor-bindings-aggregator-factory-min/test/ActorBindingsAggregatorFactoryMin-test.ts index 8795d96e1e..40855f9cb7 100644 --- a/packages/actor-bindings-aggregator-factory-min/test/ActorBindingsAggregatorFactoryMin-test.ts +++ b/packages/actor-bindings-aggregator-factory-min/test/ActorBindingsAggregatorFactoryMin-test.ts @@ -12,6 +12,7 @@ import { } from '@comunica/utils-expression-evaluator/test/util/helpers'; import { ArrayIterator } from 'asynciterator'; import { ActorBindingsAggregatorFactoryMin } from '../lib'; +import '@comunica/utils-jest'; describe('ActorBindingsAggregatorFactoryMin', () => { let bus: any; diff --git a/packages/actor-bindings-aggregator-factory-sample/test/ActorBindingsAggregatorFactorySample-test.ts b/packages/actor-bindings-aggregator-factory-sample/test/ActorBindingsAggregatorFactorySample-test.ts index bbb65109f9..5a312fedbd 100644 --- a/packages/actor-bindings-aggregator-factory-sample/test/ActorBindingsAggregatorFactorySample-test.ts +++ b/packages/actor-bindings-aggregator-factory-sample/test/ActorBindingsAggregatorFactorySample-test.ts @@ -10,6 +10,7 @@ import { } from '@comunica/utils-expression-evaluator/test/util/helpers'; import { ArrayIterator } from 'asynciterator'; import { ActorBindingsAggregatorFactorySample } from '../lib'; +import '@comunica/utils-jest'; describe('ActorBindingsAggregatorFactorySample', () => { let bus: any; diff --git a/packages/actor-bindings-aggregator-factory-sum/test/ActorBindingsAggregatorFactorySum-test.ts b/packages/actor-bindings-aggregator-factory-sum/test/ActorBindingsAggregatorFactorySum-test.ts index 79364bd909..8078aaaf7c 100644 --- a/packages/actor-bindings-aggregator-factory-sum/test/ActorBindingsAggregatorFactorySum-test.ts +++ b/packages/actor-bindings-aggregator-factory-sum/test/ActorBindingsAggregatorFactorySum-test.ts @@ -15,6 +15,7 @@ import { } from '@comunica/utils-expression-evaluator/test/util/helpers'; import { ArrayIterator } from 'asynciterator'; import { ActorBindingsAggregatorFactorySum } from '../lib'; +import '@comunica/utils-jest'; describe('ActorBindingsAggregatorFactorySum', () => { let bus: any; diff --git a/packages/actor-bindings-aggregator-factory-wildcard-count/test/ActorBindingsAggregatorFactoryWildcardCount-test.ts b/packages/actor-bindings-aggregator-factory-wildcard-count/test/ActorBindingsAggregatorFactoryWildcardCount-test.ts index 6ae482dec8..88a8af3888 100644 --- a/packages/actor-bindings-aggregator-factory-wildcard-count/test/ActorBindingsAggregatorFactoryWildcardCount-test.ts +++ b/packages/actor-bindings-aggregator-factory-wildcard-count/test/ActorBindingsAggregatorFactoryWildcardCount-test.ts @@ -10,6 +10,7 @@ import { } from '@comunica/utils-expression-evaluator/test/util/helpers'; import { ArrayIterator } from 'asynciterator'; import { ActorBindingsAggregatorFactoryWildcardCount } from '../lib'; +import '@comunica/utils-jest'; describe('ActorBindingsAggregatorFactoryWildcardCount', () => { let bus: any; diff --git a/packages/actor-expression-evaluator-factory-default/test/ActorExpressionEvaluatorFactoryBase-test.ts b/packages/actor-expression-evaluator-factory-default/test/ActorExpressionEvaluatorFactoryBase-test.ts index 28210ad612..605945f948 100644 --- a/packages/actor-expression-evaluator-factory-default/test/ActorExpressionEvaluatorFactoryBase-test.ts +++ b/packages/actor-expression-evaluator-factory-default/test/ActorExpressionEvaluatorFactoryBase-test.ts @@ -1,6 +1,7 @@ import type { ActorExpressionEvaluatorFactory } from '@comunica/bus-expression-evaluator-factory'; import { getMockEEActionContext, getMockEEFactory } from '@comunica/utils-expression-evaluator/test/util/helpers'; import { getMockExpression } from '@comunica/utils-expression-evaluator/test/util/utils'; +import '@comunica/utils-jest'; describe('ActorExpressionEvaluatorFactoryDefault', () => { describe('An ActorExpressionEvaluatorFactoryDefault instance', () => { diff --git a/packages/actor-query-operation-extend/test/ActorQueryOperationExtend-test.ts b/packages/actor-query-operation-extend/test/ActorQueryOperationExtend-test.ts index fbae469c0c..d562d05e7e 100644 --- a/packages/actor-query-operation-extend/test/ActorQueryOperationExtend-test.ts +++ b/packages/actor-query-operation-extend/test/ActorQueryOperationExtend-test.ts @@ -16,7 +16,7 @@ import { import arrayifyStream from 'arrayify-stream'; import { ArrayIterator } from 'asynciterator'; import { DataFactory } from 'rdf-data-factory'; - +import '@comunica/utils-jest'; import { ActorQueryOperationExtend } from '../lib'; const DF = new DataFactory(); diff --git a/packages/actor-query-operation-filter/test/ActorQueryOperationFilter-test.ts b/packages/actor-query-operation-filter/test/ActorQueryOperationFilter-test.ts index 3bb018754c..7739ec7acb 100644 --- a/packages/actor-query-operation-filter/test/ActorQueryOperationFilter-test.ts +++ b/packages/actor-query-operation-filter/test/ActorQueryOperationFilter-test.ts @@ -23,6 +23,7 @@ import { DataFactory } from 'rdf-data-factory'; import type { Algebra } from 'sparqlalgebrajs'; import { translate } from 'sparqlalgebrajs'; import { ActorQueryOperationFilter } from '../lib'; +import '@comunica/utils-jest'; const DF = new DataFactory(); const BF = new BindingsFactory(DF, {}); diff --git a/packages/actor-query-operation-group/test/ActorQueryOperationGroup-test.ts b/packages/actor-query-operation-group/test/ActorQueryOperationGroup-test.ts index 3c6d28b04c..d79e17d322 100644 --- a/packages/actor-query-operation-group/test/ActorQueryOperationGroup-test.ts +++ b/packages/actor-query-operation-group/test/ActorQueryOperationGroup-test.ts @@ -32,6 +32,7 @@ import { DataFactory } from 'rdf-data-factory'; import { Algebra } from 'sparqlalgebrajs'; import { ActorQueryOperationGroup } from '../lib'; import { GroupsState } from '../lib/GroupsState'; +import '@comunica/utils-jest'; const DF = new DataFactory(); const BF = new BindingsFactory(DF, {}); diff --git a/packages/actor-query-operation-leftjoin/test/ActorQueryOperationLeftJoin-test.ts b/packages/actor-query-operation-leftjoin/test/ActorQueryOperationLeftJoin-test.ts index ca43b80f7b..1cceab6018 100644 --- a/packages/actor-query-operation-leftjoin/test/ActorQueryOperationLeftJoin-test.ts +++ b/packages/actor-query-operation-leftjoin/test/ActorQueryOperationLeftJoin-test.ts @@ -15,6 +15,7 @@ import { getSafeBindings } from '@comunica/utils-query-operation'; import { ArrayIterator, UnionIterator } from 'asynciterator'; import { DataFactory } from 'rdf-data-factory'; import { ActorQueryOperationLeftJoin } from '../lib'; +import '@comunica/utils-jest'; const DF = new DataFactory(); const BF = new BindingsFactory(DF); diff --git a/packages/actor-term-comparator-factory-expression-evaluator/test/ActorTermComparatorFactoryInequalityFunctionsBased-test.ts b/packages/actor-term-comparator-factory-expression-evaluator/test/ActorTermComparatorFactoryInequalityFunctionsBased-test.ts index 6b4add96bb..bf291c1419 100644 --- a/packages/actor-term-comparator-factory-expression-evaluator/test/ActorTermComparatorFactoryInequalityFunctionsBased-test.ts +++ b/packages/actor-term-comparator-factory-expression-evaluator/test/ActorTermComparatorFactoryInequalityFunctionsBased-test.ts @@ -10,6 +10,7 @@ import { import { ActorTermComparatorFactoryExpressionEvaluator, } from '../lib'; +import '@comunica/utils-jest'; describe('ActorTermComparatorFactoryExpressionEvaluator', () => { let bus: any;