Comparing version 2.19.4 to 2.20.0
@@ -42,4 +42,3 @@ #!/usr/bin/env node | ||
if (opts.reporter === true) { | ||
const requireQUnit = require('../src/cli/require-qunit'); | ||
displayAvailableReporters(requireQUnit().reporters); | ||
displayAvailableReporters(); | ||
} | ||
@@ -46,0 +45,0 @@ |
@@ -5,7 +5,7 @@ { | ||
"description": "The powerful, easy-to-use testing framework.", | ||
"version": "2.19.4", | ||
"version": "2.20.0", | ||
"homepage": "https://qunitjs.com", | ||
"author": { | ||
"name": "OpenJS Foundation and other contributors", | ||
"url": "https://github.com/qunitjs/qunit/blob/2.19.4/AUTHORS.txt" | ||
"url": "https://github.com/qunitjs/qunit/blob/2.20.0/AUTHORS.txt" | ||
}, | ||
@@ -12,0 +12,0 @@ "repository": { |
@@ -1,2 +0,2 @@ | ||
<p align="center"><img src="/docs/img/logo-with-colored-dark-text.svg" height="width" height="125" alt="QUnit"></p> | ||
<p align="center"><img src="docs/img/logo-with-colored-dark-text.svg" height="80" alt="QUnit"></p> | ||
@@ -3,0 +3,0 @@ <div align="center"> |
@@ -28,6 +28,6 @@ 'use strict'; | ||
// If we didn't find a reporter, display the available reporters and exit | ||
displayAvailableReporters(builtin, reporterName); | ||
displayAvailableReporters(reporterName); | ||
} | ||
function displayAvailableReporters (builtin, inputReporterName) { | ||
function displayAvailableReporters (inputReporterName) { | ||
const message = []; | ||
@@ -39,3 +39,6 @@ | ||
const jsReporters = Object.keys(builtin).sort(); | ||
const jsReporters = [ | ||
'console', | ||
'tap' | ||
].sort(); | ||
message.push(`Built-in reporters: ${jsReporters.join(', ')}`); | ||
@@ -42,0 +45,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
293504
259939
7594
0