Skip to content

Commit 3510641

Browse files
committed
corrected an error with one of the expected results from a test.
1 parent 1910d65 commit 3510641

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/analysis/typeComplexityAnalysis.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ xdescribe('Test getQueryTypeComplexity function', () => {
257257

258258
test('with lists detrmined by arguments', () => {
259259
query = `Query {reviews(episode: EMPIRE, first: 3) { stars, commentary } }`;
260-
expect(getQueryTypeComplexity(query, typeWeights)).toBe(false); // 1 Query + 3 reviews
260+
expect(getQueryTypeComplexity(query, typeWeights)).toBe(4); // 1 Query + 3 reviews
261261
});
262262

263263
test('with nested lists', () => {

0 commit comments

Comments
 (0)