• Home
  • Raw
  • Download

Lines Matching defs:file

18 function restart(file, content = readFileSync(file)) {  argument
33 file, watchedFile, args = [file], completed = 'Completed running', restarts = 2 property
68 async function failWriteSucceed({ file, watchedFile }) { property
92 const file = createTmpFile(); constant
93 const { stderr, stdout } = await runWriteSucceed({ file, watchedFile: file }); property
106 const file = createTmpFile('throw new Error("fails");'); constant
107 …const { stderr, stdout } = await runWriteSucceed({ file, watchedFile: file, completed: 'Failed run… property
122 const file = createTmpFile(); constant
125 const { stderr, stdout } = await runWriteSucceed({ file, watchedFile, args }); property
143 const file = path.join(dir, 'non-existing.js'); constant
146 …const { stderr, stdout } = await runWriteSucceed({ file, watchedFile, args, completed: 'Failed run… property
161 const file = path.join(dir, 'non-existing.js'); constant
164 …const { stderr, stdout } = await runWriteSucceed({ file, watchedFile, args, completed: 'Failed run… property
175 const file = createTmpFile(` constant
179 …const { stderr, stdout } = await runWriteSucceed({ file, watchedFile: file, completed: 'running' }… property
191 const file = createTmpFile(` constant
195 const { stderr, stdout } = await runWriteSucceed({ file, watchedFile: dependency }); property
209 const file = createTmpFile(` constant
213 const { stderr, stdout } = await runWriteSucceed({ file, watchedFile: dependency }); property
226 const file = createTmpFile(); constant
227 const { stderr, stdout } = await runWriteSucceed({ file, watchedFile: file, restarts: 3 }); property
243 const file = createTmpFile(` constant
250 const { stderr, stdout } = await runWriteSucceed({ file, watchedFile: file, args }); property
263 const file = createTmpFile(); constant
266 const { stderr, stdout } = await runWriteSucceed({ file, watchedFile: file, args }); property
281 const file = createTmpFile(); constant
284 const { stderr, stdout } = await runWriteSucceed({ file, watchedFile: file, args }); property
301 await failWriteSucceed({ file: nonExistingfile, watchedFile: nonExistingfile }); property
308 await failWriteSucceed({ file: nonExistingfile, watchedFile: nonExistingfile }); property
318 await failWriteSucceed({ file: dependant, watchedFile: dependency }); property
328 await failWriteSucceed({ file: dependant, watchedFile: dependency }); property
332 const file = createTmpFile(); constant
333 const { stderr, stdout } = await runWriteSucceed({ file, watchedFile: file }); property
346 const file = createTmpFile(); constant
348 const { stderr, stdout } = await runWriteSucceed({ file, watchedFile: file, args }); property