tailwind-ctp-intellisense/packages/tailwindcss-language-server/tests/prepare.js

10 lines
276 B
JavaScript
Raw Permalink Normal View History

2023-08-29 09:37:51 +00:00
const glob = require('fast-glob')
const path = require('path')
const childProcess = require('child_process')
const fixtures = glob.sync('tests/fixtures/*/package.json')
for (let fixture of fixtures) {
childProcess.execSync('npm install', { cwd: path.dirname(fixture) })
}