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 })