Skip to content

Commit 7605730

Browse files
authored
Update html-reporter-plugin_test.js
1 parent 4a1346a commit 7605730

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

test/runner/html-reporter-plugin_test.js

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
const { expect } = require('expect')
2-
const exec = require('child_process').exec
3-
const { codecept_dir, codecept_run } = require('./consts')
4-
const debug = require('debug')('codeceptjs:tests')
5-
const fs = require('fs')
6-
const path = require('path')
1+
import { expect } from 'expect'
2+
import { exec } from 'child_process'
3+
import { codecept_dir, codecept_run } from './consts'
4+
import debug from 'debug'
5+
import fs from 'fs'
6+
import path from 'path'
7+
8+
const log = debug('codeceptjs:tests')
79

810
const config_run_config = (config, grep, verbose = false) => `${codecept_run} ${verbose ? '--verbose' : ''} --config ${codecept_dir}/configs/html-reporter-plugin/${config} ${grep ? `--grep "${grep}"` : ''}`
911

0 commit comments

Comments
 (0)