From 8cc52fe06e35ebcbe265003e9ef0fb7c3e9522c7 Mon Sep 17 00:00:00 2001 From: Jennifer Shehane Date: Fri, 1 Feb 2019 18:01:04 +0630 Subject: [PATCH] style: Lint changes for utilities spec --- cypress/integration/examples/utilities.spec.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/cypress/integration/examples/utilities.spec.js b/cypress/integration/examples/utilities.spec.js index 2800bfb8a..853c1ade9 100644 --- a/cypress/integration/examples/utilities.spec.js +++ b/cypress/integration/examples/utilities.spec.js @@ -51,21 +51,21 @@ context('Utilities', () => { }) expect(matching, 'matching wildcard').to.be.true - matching = Cypress.minimatch("/users/1/comments/2", "/users/*/comments", { - matchBase: true + matching = Cypress.minimatch('/users/1/comments/2', '/users/*/comments', { + matchBase: true, }) expect(matching, 'comments').to.be.false // ** matches against all downstream path segments - matching = Cypress.minimatch("/foo/bar/baz/123/quux?a=b&c=2", "/foo/**", { - matchBase: true + matching = Cypress.minimatch('/foo/bar/baz/123/quux?a=b&c=2', '/foo/**', { + matchBase: true, }) expect(matching, 'comments').to.be.true // whereas * matches only the next path segment - matching = Cypress.minimatch("/foo/bar/baz/123/quux?a=b&c=2", "/foo/*", { - matchBase: false + matching = Cypress.minimatch('/foo/bar/baz/123/quux?a=b&c=2', '/foo/*', { + matchBase: false, }) expect(matching, 'comments').to.be.false })