File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
app/components/operator-mode Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -59,8 +59,8 @@ import type EnvironmentService from '@cardstack/host/services/environment-servic
59
59
import type LoaderService from ' @cardstack/host/services/loader-service' ;
60
60
import type { FileView } from ' @cardstack/host/services/operator-mode-state-service' ;
61
61
import type OperatorModeStateService from ' @cardstack/host/services/operator-mode-state-service' ;
62
- import type RealmService from ' @cardstack/host/services/realm' ;
63
62
import type PlaygroundPanelService from ' @cardstack/host/services/playground-panel-service' ;
63
+ import type RealmService from ' @cardstack/host/services/realm' ;
64
64
import type RecentFilesService from ' @cardstack/host/services/recent-files-service' ;
65
65
import type SpecPanelService from ' @cardstack/host/services/spec-panel-service' ;
66
66
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ import OperatorMode from '@cardstack/host/components/operator-mode/container';
23
23
import IdentityContext from ' @cardstack/host/lib/gc-identity-context' ;
24
24
import type OperatorModeStateService from ' @cardstack/host/services/operator-mode-state-service' ;
25
25
import type StoreService from ' @cardstack/host/services/store' ;
26
- import { type CardError } from ' @cardstack/host/services/store' ;
26
+ import { type CardErrorJSONAPI } from ' @cardstack/host/services/store' ;
27
27
28
28
import { CardDef as CardDefType } from ' https://cardstack.com/base/card-api' ;
29
29
import type * as CardAPI from ' https://cardstack.com/base/card-api' ;
@@ -176,7 +176,7 @@ module('Integration | Store', function (hooks) {
176
176
let error = store .peek (` ${testRealmURL }Person/hassan ` );
177
177
assert .false (isCardInstance (error ), ' error is not a card instance' );
178
178
assert .ok (
179
- (error as CardError ).message .includes (' intentional error thrown' ),
179
+ (error as CardErrorJSONAPI ).message .includes (' intentional error thrown' ),
180
180
' error message is correct' ,
181
181
);
182
182
});
You can’t perform that action at this time.
0 commit comments