Skip to content

Commit fe41a4c

Browse files
committed
chore: lint
1 parent 06734cf commit fe41a4c

10 files changed

+39
-39
lines changed

Diff for: resources/codspeed-benchmarks.mjs

-26
This file was deleted.

Diff for: src/__benchmarks__/GraphQLSchema-benchmark.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
import { bench, describe } from "vitest";
2+
23
import { GraphQLSchema } from '../type/schema.js';
4+
35
import { buildClientSchema } from '../utilities/buildClientSchema.js';
4-
import { bigSchemaIntrospectionResult } from './fixtures';
6+
7+
import { bigSchemaIntrospectionResult } from './fixtures.js';
58

69
const bigSchema = buildClientSchema(bigSchemaIntrospectionResult.data);
710

Diff for: src/__benchmarks__/buildASTSchema.bench.ts

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
import { bench, describe } from "vitest";
2-
import { bigSchemaSDL } from './fixtures';
3-
import { parse } from '../language/parser';
4-
import { buildASTSchema } from '../utilities/buildASTSchema';
2+
3+
import { parse } from '../language/parser.js';
4+
5+
import { buildASTSchema } from '../utilities/buildASTSchema.js';
6+
7+
import { bigSchemaSDL } from './fixtures.js';
58

69
const schemaAST = parse(bigSchemaSDL);
710

Diff for: src/__benchmarks__/buildClientSchema.bench.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import { bench, describe } from "vitest";
2+
23
import { buildClientSchema } from '../utilities/buildClientSchema.js';
3-
import { bigSchemaIntrospectionResult } from './fixtures';
4+
5+
import { bigSchemaIntrospectionResult } from './fixtures.js';
46

57
describe("Build Schema from Introspection", () => {
68
bench("build schema", () => {

Diff for: src/__benchmarks__/introspectionFromSchema-benchmark.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
import { bench, describe } from "vitest";
2+
23
import { parse } from '../language/parser.js';
4+
35
import { executeSync } from '../execution/execute.js';
6+
47
import { buildSchema } from '../utilities/buildASTSchema.js';
58
import { getIntrospectionQuery } from '../utilities/getIntrospectionQuery.js';
6-
import { bigSchemaSDL } from './fixtures';
9+
10+
import { bigSchemaSDL } from './fixtures.js';
711

812
const schema = buildSchema(bigSchemaSDL, { assumeValid: true });
913
const document = parse(getIntrospectionQuery());

Diff for: src/__benchmarks__/list.bench.ts

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
import { describe, bench } from "vitest";
2-
import { execute } from '../execution/execute.js';
1+
import { bench,describe } from "vitest";
2+
33
import { parse } from '../language/parser.js';
4+
5+
import { execute } from '../execution/execute.js';
6+
47
import { buildSchema } from '../utilities/buildASTSchema.js';
58

69
const schema = buildSchema('type Query { listField: [String] }');

Diff for: src/__benchmarks__/parse.bench.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import { bench, describe } from 'vitest';
2+
23
import { parse } from '../language/parser.js';
4+
35
import { getIntrospectionQuery } from '../utilities/getIntrospectionQuery.js';
46

57

Diff for: src/__benchmarks__/repeatedFields.bench.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import { bench, describe } from "vitest";
2+
23
import { buildSchema } from "../utilities/buildASTSchema.js";
4+
35
import { graphqlSync } from "../graphql.js";
46

57
const schema = buildSchema('type Query { hello: String! }');

Diff for: src/__benchmarks__/validate.bench.ts

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
import { bench, describe } from 'vitest';
2+
23
import { parse } from '../language/parser.js';
3-
import { getIntrospectionQuery } from '../utilities/getIntrospectionQuery.js';
4-
import { buildSchema } from '../utilities/buildASTSchema.js';
4+
55
import { validate, validateSDL } from '../validation/validate.js';
6-
import { bigSchemaSDL } from './fixtures';
6+
7+
import { buildSchema } from '../utilities/buildASTSchema.js';
8+
import { getIntrospectionQuery } from '../utilities/getIntrospectionQuery.js';
9+
10+
import { bigSchemaSDL } from './fixtures.js';
711

812
const schema = buildSchema(bigSchemaSDL, { assumeValid: true });
913
const queryAST = parse(getIntrospectionQuery());

Diff for: src/__benchmarks__/visitor.bench.ts

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
import { bench, describe } from 'vitest';
2+
23
import { visit, visitInParallel } from '../language/visitor.js';
3-
import { bigSchemaSDL } from './fixtures';
4-
import { parse } from '../language';
4+
5+
import { parse } from '../language.js';
6+
7+
import { bigSchemaSDL } from './fixtures.js';
58

69
const documentAST = parse(bigSchemaSDL);
710
const visitor = {

0 commit comments

Comments
 (0)