Ignore branches tested without coverage monitoring
This commit is contained in:
@@ -3,6 +3,7 @@ import {isArray} from "../utils";
|
|||||||
var SourceNode;
|
var SourceNode;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
/* istanbul ignore next */
|
||||||
if (typeof define !== 'function' || !define.amd) {
|
if (typeof define !== 'function' || !define.amd) {
|
||||||
// We don't support this in AMD environments. For these environments, we asusme that
|
// We don't support this in AMD environments. For these environments, we asusme that
|
||||||
// they are running on the browser and thus have no need for the source-map library.
|
// they are running on the browser and thus have no need for the source-map library.
|
||||||
@@ -13,8 +14,8 @@ try {
|
|||||||
/* NOP */
|
/* NOP */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* istanbul ignore if: tested but not covered in istanbul due to dist build */
|
||||||
if (!SourceNode) {
|
if (!SourceNode) {
|
||||||
/* istanbul ignore next: tested but not covered in istanbul due to dist build */
|
|
||||||
SourceNode = function(line, column, srcFile, chunks) {
|
SourceNode = function(line, column, srcFile, chunks) {
|
||||||
this.src = '';
|
this.src = '';
|
||||||
if (chunks) {
|
if (chunks) {
|
||||||
|
|||||||
Reference in New Issue
Block a user