Skip to content

Commit

Permalink
[test] Fix nits
Browse files Browse the repository at this point in the history
  • Loading branch information
lpinca committed Aug 10, 2021
1 parent ad75244 commit e8f7588
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/shopify.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,10 @@ describe('Shopify', () => {
const shopify = new Shopify({ shopName, accessToken, timeout: 100 });

//
// `scope.delay()` can only delay the `response` event. The connection is
// still established so it is useless for this test. To work around this
// issue a non-routable IP address is used here instead of `nock`. See
// https://tools.ietf.org/html/rfc5737#section-3
// `scope.delay()` can only delay the `'response'` event. The connection
// is still established so it is useless for this test. To work around
// this issue a non-routable IP address is used here instead of `nock`.
// See https://tools.ietf.org/html/rfc5737#section-3
//
shopify.baseUrl.hostname = '192.0.2.1';

Expand Down Expand Up @@ -295,7 +295,7 @@ describe('Shopify', () => {
);
});

it('emits the `callLimits` event', (done) => {
it("emits the 'callLimits' event", (done) => {
scope.get('/test').reply(
200,
{},
Expand Down Expand Up @@ -683,7 +683,7 @@ describe('Shopify', () => {
});
});

it('emits the `callGraphqlLimits` event', (done) => {
it("emits the 'callGraphqlLimits' event", (done) => {
scope.post('/admin/api/graphql.json').reply(200, {
extensions: {
cost: {
Expand Down

0 comments on commit e8f7588

Please sign in to comment.