在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):sindresorhus/gulp-jasmine开源软件地址(OpenSource Url):https://github.com/sindresorhus/gulp-jasmine开源编程语言(OpenSource Language):JavaScript 100.0%开源软件介绍(OpenSource Introduction):gulp-jasmine
Issues with the output should be reported on the Jasmine issue tracker. Install
Usageconst gulp = require('gulp');
const jasmine = require('gulp-jasmine');
exports.default = () => (
gulp.src('spec/test.js')
// gulp-jasmine works on filepaths so you can't have any plugins before it
.pipe(jasmine())
); APIjasmine(options?)optionsType: verboseType: Display spec names in default reporter. includeStackTraceType: Include stack traces in failures in default reporter. reporterType: Reporters to use. const gulp = require('gulp');
const jasmine = require('gulp-jasmine');
const reporters = require('jasmine-reporters');
exports.default = () => (
gulp.src('spec/test.js')
.pipe(jasmine({
reporter: new reporters.JUnitXmlReporter()
}))
); timeoutType: Time to wait in milliseconds before a test automatically fails. errorOnFailType: Stops the stream on failed tests. configType: Passes the config to Jasmine's loadConfig method. eventsjasmineDoneEmitted after all tests have been completed. For a discussion about why FAQBabelAdd |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论