mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-20 08:33:11 +00:00
refactor: update openstapps packages
This commit is contained in:
@@ -23,9 +23,7 @@ import {
|
||||
SCSearchQuery,
|
||||
SCSearchResponse,
|
||||
SCSearchValueFilter,
|
||||
SCThing,
|
||||
SCThingOriginType,
|
||||
SCThings,
|
||||
SCThingType,
|
||||
} from '@openstapps/core';
|
||||
import {sampleThingsMap} from '../../_helpers/data/sample-things';
|
||||
@@ -66,7 +64,7 @@ describe('DataProvider', () => {
|
||||
filter: sampleFilter,
|
||||
};
|
||||
|
||||
const sampleSavable: SCSaveableThing<SCThings> = {
|
||||
const sampleSavable: SCSaveableThing = {
|
||||
data: sampleThing,
|
||||
name: sampleThing.name,
|
||||
origin: {
|
||||
@@ -168,7 +166,7 @@ describe('DataProvider', () => {
|
||||
});
|
||||
|
||||
it('should put an data item into the local database (storage)', async () => {
|
||||
let providedThing: SCSaveableThing<SCThing>;
|
||||
let providedThing: SCSaveableThing;
|
||||
spyOn(storageProvider, 'put' as any).and.callFake(
|
||||
(_id: any, thing: any) => {
|
||||
providedThing = thing;
|
||||
|
||||
Reference in New Issue
Block a user