Skip to content

Commit

Permalink
printer-test: switch to dedentString (#3015)
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov committed Apr 2, 2021
1 parent 665fc9c commit 31b442e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/language/__tests__/printer-test.js
@@ -1,7 +1,7 @@
import { expect } from 'chai';
import { describe, it } from 'mocha';

import { dedent } from '../../__testUtils__/dedent';
import { dedent, dedentString } from '../../__testUtils__/dedent';
import { kitchenSinkQuery } from '../../__testUtils__/kitchenSinkQuery';

import { parse } from '../parser';
Expand Down Expand Up @@ -150,7 +150,7 @@ describe('Printer: Query document', () => {

expect(printed).to.equal(
// $FlowFixMe[incompatible-call]
dedent(String.raw`
dedentString(String.raw`
query queryName($foo: ComplexType, $site: Site = MOBILE) @onQuery {
whoever123is: node(id: [123, 456]) {
id
Expand Down

0 comments on commit 31b442e

Please sign in to comment.