腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
2
回答
npm
t与
npm
run
test
的区别
javascript
、
node.js
、
testing
我见过一些人在运行测试时使用命令
npm
t。此命令与运行
npm
run
test
有什么不同
浏览 46
提问于2019-07-15
得票数 5
1
回答
NPM
知道脚本是否作为先行/后继脚本运行
javascript
、
node.js
假设我有这样的东西: { "clean": "some-clean-script", "
浏览 13
提问于2020-04-07
得票数 2
回答已采纳
1
回答
Angular 6
npm
run
test
命令失败
angular
、
typescript
、
angular6
、
karma-coverage
、
angular-test
下面是我运行的命令:我的Karma文件配置如下: // Karma configuration
浏览 9
提问于2021-02-26
得票数 1
1
回答
如何使用
npm
.commands.
test
函数
javascript
、
node.js
、
testing
、
npm
我想创建一个函数,可以通过
npm
test
返回结果。(通过调用此函数
npm
.commands.
test
(packages, callback) )var
npm
= require("
npm
");
npm
.commands.
test
('package.json',
浏览 3
提问于2015-06-12
得票数 0
1
回答
Karma Start,Karma Init,
npm
test
not Init?
macos
、
npm
、
jasmine
、
karma-runner
karma start、karma init、
npm
test
运行后不退出是正常行为吗?我想运行其他命令,但我必须打开另一个窗口来执行此操作。
浏览 0
提问于2016-07-28
得票数 1
2
回答
无法运行带有"
npm
test
“的测试
node.js
、
npm
、
npm-install
我有这个练习和一个测试文件,当我想要运行测试时,我得到了这个...$
npm
test
> jest --collectCoverage=false CS.
test
.js In 00-IntroToCS\homework(spec|
test
).js?
npm
ERR!
Tes
浏览 23
提问于2021-02-18
得票数 0
1
回答
如何将.npmrc文件配置为能够组合不同的
NPM
注册中心?
npm-install
、
artifactory
、
npm-registry
、
.npmrc
如何将.npmrc文件设置为告诉
npm
install从下载所有依赖项,但只从需要使用身份验证的下的企业Artifactory下载特定的依赖项?
浏览 10
提问于2022-07-21
得票数 0
回答已采纳
1
回答
npm
是否使用package.json中定义的
npm
?
node.js
、
npm
npm
是否使用在package.json中定义的
npm
4.5.0... ..."
npm
": "4.3.0" }
浏览 6
提问于2017-05-19
得票数 2
3
回答
如何在node.js中通过一个"
npm
test
“命令运行mocha和mocha-phantomjs测试?
node.js
、
testing
、
browser
、
phantomjs
、
mocha.js
仅使用
npm
test
命令运行这些测试的最佳方式是什么?另外,我想将这些包添加到travis中。节点测试命令浏览器测试命令我尝试过的东西: 将这些命令添加到以分号分隔的
npm
test
脚本中问题:当第一个脚本中有错误,但第二
浏览 52
提问于2013-12-04
得票数 57
回答已采纳
2
回答
npm
+ Mocha --watch (不能准确地查看文件)
javascript
、
node.js
、
tdd
、
npm
、
mocha.js
我正在使用带有
npm
的mocha,并做一个"
npm
测试“来启动Mocha。它在mocha.opts中启用了--watch,但是由于某些原因,它没有准确地监视。
浏览 4
提问于2014-04-03
得票数 16
1
回答
从导入路径中删除dist
javascript
、
typescript
、
npm
、
tsconfig
、
tsc
我写了一个小库 在lib/index.ts上,我有这样的代码 export default function hello() {} package.json { "author": "Org name", "main": "dist/index.js", "license": "M
浏览 30
提问于2021-09-28
得票数 0
回答已采纳
2
回答
如果失败,如何继续运行package.json中定义的脚本?
javascript
、
node.js
、
package.json
、
webdriver-io
、
npm-scripts
": "
npm
run
test
:v1 &&
npm
run
test
:v2"}
npm
run
test
"
test
": "
npm
run
test
:v1 ;
npm</
浏览 2
提问于2020-06-12
得票数 2
回答已采纳
2
回答
Gitlab Mocha测试和码头标签问题
docker
、
mocha.js
、
gitlab
- docker run $CONTAINER_
TEST
_IMAGE
npm
install &&
npm
test
test
: script:- docker pull $CONTAINER_
TEST
_IMAGE和 stage:
浏览 3
提问于2017-07-02
得票数 4
回答已采纳
4
回答
运行测试时
npm
错误ELIFECYCLE
node.js
、
unit-testing
、
npm
、
mocha-phantomjs
当我在cmd中运行命令
npm
test
时,测试运行正常,但它也给出了以下错误6 failing
npm
ERR! Exit status 6
npm
ERR!
npm
ERR! Failed at the flickr-
test
@ te
浏览 5
提问于2014-04-25
得票数 26
回答已采纳
1
回答
如何不推荐发布到GitHub包注册表的
npm
包?
npm
、
github-package-registry
',
npm
verb cli '@
test
-engineering/
test
-roles',
npm
verb cli ]
npm
info using
浏览 2
提问于2021-03-31
得票数 1
1
回答
mongoose when change nodejs version get error无法读取未定义的属性'replace‘
javascript
、
node.js
、
mongodb
、
mongoose
、
robo3t
\\bin\\
npm
-cli.js" "run-script" "
test
"
npm
ERR! Exit status 1
npm
ERR!mocha
test
/*
浏览 1
提问于2016-11-23
得票数 0
2
回答
在package.json中使用--config标志为--config的webpack构建脚本
npm
"scripts": { "
test
": "mocha 'src/**/
test
*.coffee' --watch --compilerscoffee:coffee-script/register", "build": "webpack --config webpack.dist.config.js&qu
浏览 1
提问于2016-01-17
得票数 30
回答已采纳
1
回答
如何将mocha设置为先运行单元测试,然后启动服务器并运行集成测试
node.js
、
unit-testing
、
server
、
mocha.js
、
integration-testing
我有一些单元测试和集成测试需要使用一个'
npm
run mocha‘命令来运行。我的集成测试之前的套件已经设置好,并且可以与mocha.opts一起正常工作,包括之前的步骤,如下所示:
test
/beforeTests.js (sets up some important variables我已经尝试过将mocha.opts更改为:
test
/beforeTests.js (sets up some important variables)
test
/*.x.js (bulk of
浏览 11
提问于2019-02-22
得票数 1
回答已采纳
1
回答
当通过nginx/php-fpm exec调用nginx/php-fpm时,
npm
不会运行。
php
、
bash
、
shell
、
nginx
、
npm
php我们有
test
.sh,它只运行
npm
/bin/bash
npm
浏览 2
提问于2017-09-13
得票数 2
回答已采纳
2
回答
Hyperledger安装失败
node.js
、
ubuntu
、
npm
、
hyperledger-fabric
、
hyperledger
cd blockchain-explorer/app/
test
命令
npm
运行测试失败,出现以下错误。run
test<
浏览 1
提问于2018-04-12
得票数 5
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
test
test7
This is first test
职场术语:The Turing Test
test定时任务
热门
标签
更多标签
云服务器
即时通信 IM
ICP备案
对象存储
实时音视频
活动推荐
运营活动
广告
关闭
领券