Skip to content

Commit

Permalink
fix minimatch import
Browse files Browse the repository at this point in the history
  • Loading branch information
hugoattal committed Dec 10, 2024
1 parent 10fbc65 commit 84c99b6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/vue3/cypress-parallel.mjs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// @TODO move to playwright

import fs from 'node:fs/promises'
import { exec } from 'node:child_process'
import fs from 'node:fs/promises'
import { globby } from 'globby'
import minimatch from 'minimatch'
import { minimatch } from 'minimatch'

const totalRunners = Number.parseInt(process.env.TOTAL_RUNNERS)
const thisRunner = Number.parseInt(process.env.THIS_RUNNER)
Expand All @@ -25,7 +25,7 @@ async function getTestCount(filePath) {
return content.match(testPattern)?.length || 0
}

// adapated from:
// adapted from:
// https://github.com/bahmutov/find-cypress-specs/blob/main/src/index.js
async function getSpecFilePaths() {
const options = specPatterns
Expand Down

0 comments on commit 84c99b6

Please sign in to comment.