mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-07 23:40:21 -05:00
test(system-tests): support npm for test projects (#20664)
This commit is contained in:
@@ -2,13 +2,14 @@ require('../spec_helper')
|
||||
|
||||
const plugins = require('../../lib/plugins')
|
||||
const Fixtures = require('@tooling/system-tests/lib/fixtures')
|
||||
const { scaffoldCommonNodeModules } = require('@tooling/system-tests/lib/dep-installer')
|
||||
|
||||
const pluginsFile = Fixtures.projectPath('plugin-before-browser-launch-deprecation/cypress/plugins/index.js')
|
||||
|
||||
describe('lib/plugins', () => {
|
||||
beforeEach(async () => {
|
||||
Fixtures.scaffoldProject('plugin-before-browser-launch-deprecation')
|
||||
await Fixtures.scaffoldCommonNodeModules()
|
||||
await scaffoldCommonNodeModules()
|
||||
})
|
||||
|
||||
afterEach(() => {
|
||||
|
||||
Reference in New Issue
Block a user