File: exec.js

package info (click to toggle)
node-grunt-webpack 4.0.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 680 kB
  • sloc: javascript: 911; makefile: 2
file content (10 lines) | stat: -rw-r--r-- 298 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
assertGrunt.success();

const content = fs.readFileSync(path.join(cwd, 'output.js'), 'utf-8');
expect(content).toMatch(/console\.log\("dokey"\)/);

// stats should be displayed by default
expect(stdout).toMatch(/output\.js/);
expect(stdout).toMatch(/\[emitted\]/);
expect(stdout).toMatch(/main/);