UNPKG

create-broadcast-app

Version:

Create a NextGen TV broadcast app with one command

24 lines (18 loc) 596 B
'use strict'; const path = require('path'); const fs = require('fs-extra'); const TestSetup = require('./util/setup'); const fixturePath = path.dirname(module.parent.filename); const fixtureName = path.basename(fixturePath); const disablePnp = fs.existsSync(path.resolve(fixturePath, '.disable-pnp')); const testSetup = new TestSetup(fixtureName, fixturePath, { pnp: !disablePnp, }); beforeAll(async () => { await testSetup.setup(); }, 1000 * 60 * 5); afterAll(async () => { await testSetup.teardown(); }); beforeEach(() => jest.setTimeout(1000 * 60 * 5)); module.exports = testSetup;