UNPKG

gulp-mode

Version:

A gulp plugin for identifying biuld mode.

19 lines 2.85 kB
<?xml version="1.0" encoding="UTF-8" ?> <testsuites disabled="0" errors="0" failures="0" tests="12" time="0.025"> <testsuite name="gulp-mode test suite with default options" timestamp="2021-04-07T22:03:10" hostname="localhost" time="0.015" errors="0" tests="6" skipped="0" disabled="0" failures="0"> <testcase classname="gulp-mode test suite with default options" name="default options, NODE_ENV=production, no CLI argument -&gt; production() == child, development() == noop" time="0.009" /> <testcase classname="gulp-mode test suite with default options" name="default options, no NODE_ENV, CLI argument=--production -&gt; production() == child, development() == noop" time="0.001" /> <testcase classname="gulp-mode test suite with default options" name="default options, NODE_ENV=production, CLI argument=--development -&gt; production() == child, development() == child" time="0" /> <testcase classname="gulp-mode test suite with default options" name="default options, no NODE_ENV, no CLI argument -&gt; production() == noop, development() == child" time="0" /> <testcase classname="gulp-mode test suite with default options" name="default options, NODE_ENV=development, CLI argument=--production -&gt; production() == child, development() == child" time="0" /> <testcase classname="gulp-mode test suite with default options" name="default options, NODE_ENV=production, CLI argument=--production -&gt; production() == child, development() == noop" time="0.001" /> </testsuite> <testsuite name="gulp-mode test suite with custom options" timestamp="2021-04-07T22:03:10" hostname="localhost" time="0.01" errors="0" tests="6" skipped="0" disabled="0" failures="0"> <testcase classname="gulp-mode test suite with custom options" name="default options, no NODE_ENV, CLI argument=--prod -&gt; prod() == child, dev() == noop, demo() == noop" time="0.002" /> <testcase classname="gulp-mode test suite with custom options" name="default options, NODE_ENV=dev, CLI argument=--prod -&gt; prod() == child, dev() == child, demo() == noop" time="0.001" /> <testcase classname="gulp-mode test suite with custom options" name="default options, NODE_ENV=prod, CLI argument=--dev -&gt; prod() == child, dev() == child, demo() == noop" time="0.002" /> <testcase classname="gulp-mode test suite with custom options" name="default options, NODE_ENV=prod, CLI argument=--prod -&gt; prod() == child, dev() == noop, demo() == noop" time="0.001" /> <testcase classname="gulp-mode test suite with custom options" name="default options, NODE_ENV=prod, no CLI argument -&gt; prod() == child, dev() == noop, demo() == noop" time="0.001" /> <testcase classname="gulp-mode test suite with custom options" name="default options, no NODE_ENV, no CLI argument -&gt; prod() == noop, dev() == noop, demo() == child" time="0.001" /> </testsuite> </testsuites>