Skip to content

Commit

Permalink
Update testing dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
NoelDeMartin committed Jul 12, 2024
1 parent d508566 commit 4031be4
Show file tree
Hide file tree
Showing 12 changed files with 105 additions and 64 deletions.
142 changes: 90 additions & 52 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},
"dependencies": {
"@babel/runtime": "^7.13.8",
"@noeldemartin/solid-utils": "0.4.0-next.852c9f9e65275fc2a2e67a9750784fb43a0fd64b",
"@noeldemartin/solid-utils": "0.4.0-next.30aceafb9d58f505d02a146d8e81f2e3a041b92f",
"@noeldemartin/utils": "0.5.1-next.d01c5dd7a42656e2ed6f6a0279c98dd6e2ff5a10",
"core-js": "^3.9.0"
},
Expand All @@ -45,6 +45,7 @@
"@noeldemartin/eslint-config-typescript": "^0.1.1",
"@noeldemartin/faker": "^7.6.0",
"@noeldemartin/scripts": "^0.1.2",
"@noeldemartin/testing": "0.0.0",
"@rdfjs/types": "^1.1.0",
"@types/jest": "^24.0.0",
"@types/jsonld": "^1.5.5",
Expand Down
2 changes: 1 addition & 1 deletion src/engines/SolidEngine.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { DocumentAlreadyExists, DocumentNotFound, SoukaiError } from 'soukai';
import { fakeContainerUrl, fakeDocumentUrl, fakeResourceUrl } from '@noeldemartin/solid-utils';
import { fakeContainerUrl, fakeDocumentUrl, fakeResourceUrl } from '@noeldemartin/testing';
import {
arrayZip,
range,
Expand Down
3 changes: 2 additions & 1 deletion src/models/SolidModel.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/* eslint-disable max-len */
import { after, arrayWithout, range, stringToSlug, tap, toString, tt, urlParentDirectory, urlResolve, urlResolveDirectory, urlRoute, uuid } from '@noeldemartin/utils';
import { expandIRI as defaultExpandIRI, fakeContainerUrl, fakeDocumentUrl, fakeResourceUrl } from '@noeldemartin/solid-utils';
import { expandIRI as defaultExpandIRI } from '@noeldemartin/solid-utils';
import { fakeContainerUrl, fakeDocumentUrl, fakeResourceUrl } from '@noeldemartin/testing';
import { FieldType, InMemoryEngine, ModelKey, bootModels, setEngine } from 'soukai';
import dayjs from 'dayjs';
import { faker } from '@noeldemartin/faker';
Expand Down
2 changes: 1 addition & 1 deletion src/models/SolidTypeIndex.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { fakeDocumentUrl } from '@noeldemartin/solid-utils';
import { fakeDocumentUrl } from '@noeldemartin/testing';
import { setEngine } from 'soukai';

import { SolidEngine } from '@/engines/SolidEngine';
Expand Down
2 changes: 1 addition & 1 deletion src/models/relations/DocumentContainsManyRelation.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { fakeDocumentUrl } from '@noeldemartin/solid-utils';
import { fakeDocumentUrl } from '@noeldemartin/testing';
import { faker } from '@noeldemartin/faker';
import { setEngine } from 'soukai';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { fakeContainerUrl } from '@noeldemartin/solid-utils';
import { fakeContainerUrl } from '@noeldemartin/testing';
import { setEngine } from 'soukai';

import { SolidContainer } from '@/models';
Expand Down
2 changes: 1 addition & 1 deletion src/models/relations/SolidContainsRelation.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { faker } from '@noeldemartin/faker';
import { fakeContainerUrl } from '@noeldemartin/solid-utils';
import { fakeContainerUrl } from '@noeldemartin/testing';
import { InMemoryEngine, bootModels, setEngine } from 'soukai';

import Movie from '@/testing/lib/stubs/Movie';
Expand Down
4 changes: 2 additions & 2 deletions src/solid/SolidClient.test.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import {
MalformedSolidDocumentError,
fakeContainerUrl,
fakeDocumentUrl,
fakeResourceUrl,
} from '@noeldemartin/solid-utils';
} from '@noeldemartin/testing';
import { MalformedSolidDocumentError } from '@noeldemartin/solid-utils';
import { faker } from '@noeldemartin/faker';
import { range, stringToSlug, urlResolve, urlResolveDirectory, urlRoute, uuid } from '@noeldemartin/utils';
import type { Tuple } from '@noeldemartin/utils';
Expand Down
2 changes: 1 addition & 1 deletion src/tests/solid-crud.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { bootModels, setEngine } from 'soukai';
import { fakeDocumentUrl } from '@noeldemartin/solid-utils';
import { fakeDocumentUrl } from '@noeldemartin/testing';
import { tap, urlResolve, urlResolveDirectory } from '@noeldemartin/utils';
import { faker } from '@noeldemartin/faker';

Expand Down
2 changes: 1 addition & 1 deletion src/tests/solid-interop.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { bootModels, setEngine } from 'soukai';
import { fakeDocumentUrl } from '@noeldemartin/solid-utils';
import { fakeDocumentUrl } from '@noeldemartin/testing';
import { faker } from '@noeldemartin/faker';

import SolidContainer from '@/models/SolidContainer';
Expand Down
3 changes: 2 additions & 1 deletion src/tests/wac.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { faker } from '@noeldemartin/faker';
import { bootModels, setEngine } from 'soukai';
import { SolidDocumentPermission, fakeDocumentUrl } from '@noeldemartin/solid-utils';
import { fakeDocumentUrl } from '@noeldemartin/testing';
import { SolidDocumentPermission } from '@noeldemartin/solid-utils';

import { SolidEngine } from '@/engines/SolidEngine';
import { SolidACLAuthorization } from '@/models';
Expand Down

0 comments on commit 4031be4

Please sign in to comment.