Use this tag when asking about the gulp-npm-test
javascript package available through npm.
Questions tagged [gulp-npm-test]
3 questions
1
vote
0 answers
d3 is not defined in unit testing jest
error showing d3 is not defined when run test command "npm test".
Below image is my test script
Pie chart code is below image

wpmarts
- 532
- 6
- 8
0
votes
0 answers
expect(received).toEqual(expected) // deep equality in npm test, string when changes line adds a “.” in the end in the returned string
I am making a program for a todo list using python 3 and it has a help function which prints on console following:
Usage:-
$ ./todo add "todo item" # Add a new todo
$ ./todo ls # Show remaining todos
$ ./todo del NUMBER …

Shubh Gaur
- 21
- 1
- 5
0
votes
1 answer
gulp-npm-test running Jest tests (all passing), but claiming to fail
I've installed gulp-npm-test following their documentation, that is, in my gulp directory I've got a file test.js that looks like this:
var gulp = require('gulp')
require('gulp-npm-test')(gulp)
var gulp = require('gulp-npm-test')(gulp, {
…

wogsland
- 9,106
- 19
- 57
- 93