Skip to content

Commit

Permalink
More cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
captbaritone committed Sep 27, 2024
1 parent f51c8f3 commit 7a24df8
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ const {graphql} = require('../../query/GraphQLTag');
const RelayFeatureFlags = require('../../util/RelayFeatureFlags');
const LiveResolverStore = require('../experimental-live-resolvers/LiveResolverStore');
const {observeFragment} = require('../observeFragmentExperimental');
const {RelayFieldError} = require('../RelayErrorTrie');
const {
createOperationDescriptor,
} = require('../RelayModernOperationDescriptor');
Expand Down Expand Up @@ -198,7 +197,7 @@ test('Field error with @throwOnFieldError', async () => {
withObservableValues(observable, results => {
expect(results).toEqual([
{
error: new RelayFieldError(
error: new Error(
'Relay: Unexpected response payload - this object includes an errors property in which you can access the underlying errors',
),
state: 'error',
Expand Down

0 comments on commit 7a24df8

Please sign in to comment.