Skip to content

Commit b4f75f4

Browse files
lilianammmatosrobrichard
authored andcommitted
update tests, fix typos
1 parent cf507fd commit b4f75f4

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/__tests__/starWarsStreamQuery-test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,12 +129,12 @@ describe('Star Wars Query Stream Tests', () => {
129129
friends: [
130130
{
131131
id: '1000',
132-
appearsIn: ['NEWHOPE', 'EMPIRE', 'JEDI'],
132+
appearsIn: ['NEW_HOPE', 'EMPIRE', 'JEDI'],
133133
name: 'Luke Skywalker',
134134
},
135135
{
136136
id: '1002',
137-
appearsIn: ['NEWHOPE', 'EMPIRE', 'JEDI'],
137+
appearsIn: ['NEW_HOPE', 'EMPIRE', 'JEDI'],
138138
},
139139
{
140140
id: '1003',
@@ -171,7 +171,7 @@ describe('Star Wars Query Stream Tests', () => {
171171

172172
expect(patches[2]).to.deep.equal({
173173
data: {
174-
appearsIn: ['NEWHOPE', 'EMPIRE', 'JEDI'],
174+
appearsIn: ['NEW_HOPE', 'EMPIRE', 'JEDI'],
175175
},
176176
path: ['hero', 'friends', 2],
177177
label: 'appearsInLabel',

src/execution/execute.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ export function buildExecutionContext(
347347
variableValues: coercedVariableValues.coerced,
348348
fieldResolver: fieldResolver || defaultFieldResolver,
349349
typeResolver: typeResolver || defaultTypeResolver,
350-
// TODO: Pass these properties in from buildExecution arugments
350+
// TODO: Pass these properties in from buildExecution arguments
351351
dispatcher: new Dispatcher(),
352352
errors: [],
353353
};
@@ -392,7 +392,7 @@ function executeOperation(
392392

393393
exeContext.dispatcher.add(
394394
label,
395-
// TODO: `path` is initially "undefined", which essentialy means "root",
395+
// TODO: `path` is initially "undefined", which essentially means "root",
396396
// investigate if "undefined" is a valid path value.
397397
path,
398398
() =>

src/type/schema.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ export type GraphQLSchemaValidationOptions = {|
330330
* EXPERIMENTAL:
331331
*
332332
* If enabled, processed fields from fragment spreads with @defer directive
333-
* are not returned from the iniital query and the respective data is returned
333+
* are not returned from the initial query and the respective data is returned
334334
* in patches after the initial result from the synchronous query.
335335
*
336336
* Default: false
@@ -342,7 +342,7 @@ export type GraphQLSchemaValidationOptions = {|
342342
* EXPERIMENTAL:
343343
*
344344
* If enabled, items from a plural fields with @stream directive
345-
* are not returned from the iniital query and each item is returned
345+
* are not returned from the initial query and each item is returned
346346
* in a patch after the initial result from the synchronous query.
347347
*
348348
* Default: false

0 commit comments

Comments
 (0)