()
| 11 | let storedTmpDir, assetDir, assetChildDir; |
| 12 | |
| 13 | function writeFiles() { |
| 14 | fs.writeFileSync(path.join(assetDir, 'some-project.scss'), 'body { margin: 0 20px; }', { encoding: 'utf8' }); |
| 15 | fs.writeFileSync(path.join(assetDir, 'some-project.css4'), 'body { margin: 0 20px; }', { encoding: 'utf8' }); |
| 16 | fs.writeFileSync(path.join(assetDir, 'some-project.css'), 'body { margin: 0 20px; }', { encoding: 'utf8' }); |
| 17 | fs.writeFileSync(path.join(assetDir, 'some-project.js'), 'module.exports = function () {};', { encoding: 'utf8' }); |
| 18 | fs.writeFileSync(path.join(assetDir, 'some-project.json'), 'module.exports = function () {};', { |
| 19 | encoding: 'utf8', |
| 20 | }); |
| 21 | fs.writeFileSync(path.join(assetDir, 'test-loader.js'), 'module.exports = function () {};', { encoding: 'utf8' }); |
| 22 | fs.writeFileSync(path.join(assetDir, 'test-support.js'), 'module.exports = function () {};', { encoding: 'utf8' }); |
| 23 | fs.writeFileSync(path.join(assetDir, 'testem.js'), 'module.exports = function () {};', { encoding: 'utf8' }); |
| 24 | fs.writeFileSync(path.join(assetDir, 'test.js'), 'module.exports = function () {};', { encoding: 'utf8' }); |
| 25 | fs.writeFileSync(path.join(assetDir, 'empty.js'), '', { encoding: 'utf8' }); |
| 26 | fs.writeFileSync(path.join(assetChildDir, 'nested-asset.css'), 'body { margin: 0 20px; }', { encoding: 'utf8' }); |
| 27 | fs.writeFileSync(path.join(assetChildDir, 'nested-asset.js'), 'module.exports = function () {};', { |
| 28 | encoding: 'utf8', |
| 29 | }); |
| 30 | } |
| 31 | |
| 32 | beforeEach(async function () { |
| 33 | const { path: tempPath } = await tmp.dir(); |
no outgoing calls
no test coverage detected
searching dependent graphs…