jasmine-core 4.6.0 → 4.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/MIT.LICENSE +1 -0
- package/README.md +3 -1
- package/lib/jasmine-core/boot0.js +2 -1
- package/lib/jasmine-core/boot1.js +2 -1
- package/lib/jasmine-core/jasmine-html.js +9 -9
- package/lib/jasmine-core/jasmine.css +3 -5
- package/lib/jasmine-core/jasmine.js +5 -8
- package/lib/jasmine-core/node_boot.js +2 -1
- package/package.json +1 -1
package/MIT.LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -58,4 +58,6 @@ To find out what environments work with a particular Jasmine release, see the [r
|
|
|
58
58
|
* [Christian Williams](mailto:antixian666@gmail.com)
|
|
59
59
|
* Sheel Choksi
|
|
60
60
|
|
|
61
|
-
Copyright (c) 2008-
|
|
61
|
+
Copyright (c) 2008-2019 Pivotal Labs<br>
|
|
62
|
+
Copyright (c) 2008-2024 The Jasmine developers<br>
|
|
63
|
+
This software is licensed under the [MIT License](https://github.com/jasmine/jasmine/blob/main/LICENSE).
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Copyright (c) 2008-
|
|
2
|
+
Copyright (c) 2008-2019 Pivotal Labs
|
|
3
|
+
Copyright (c) 2008-2024 The Jasmine developers
|
|
3
4
|
|
|
4
5
|
Permission is hereby granted, free of charge, to any person obtaining
|
|
5
6
|
a copy of this software and associated documentation files (the
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Copyright (c) 2008-
|
|
2
|
+
Copyright (c) 2008-2019 Pivotal Labs
|
|
3
|
+
Copyright (c) 2008-2024 The Jasmine developers
|
|
3
4
|
|
|
4
5
|
Permission is hereby granted, free of charge, to any person obtaining
|
|
5
6
|
a copy of this software and associated documentation files (the
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Copyright (c) 2008-
|
|
2
|
+
Copyright (c) 2008-2019 Pivotal Labs
|
|
3
|
+
Copyright (c) 2008-2024 The Jasmine developers
|
|
3
4
|
|
|
4
5
|
Permission is hereby granted, free of charge, to any person obtaining
|
|
5
6
|
a copy of this software and associated documentation files (the
|
|
@@ -530,14 +531,13 @@ jasmineRequire.HtmlReporter = function(j$) {
|
|
|
530
531
|
if (noExpectations(resultNode.result)) {
|
|
531
532
|
specDescription = 'SPEC HAS NO EXPECTATIONS ' + specDescription;
|
|
532
533
|
}
|
|
533
|
-
if (
|
|
534
|
-
resultNode.result.
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
specDescription
|
|
539
|
-
|
|
540
|
-
resultNode.result.pendingReason;
|
|
534
|
+
if (resultNode.result.status === 'pending') {
|
|
535
|
+
if (resultNode.result.pendingReason !== '') {
|
|
536
|
+
specDescription +=
|
|
537
|
+
' PENDING WITH MESSAGE: ' + resultNode.result.pendingReason;
|
|
538
|
+
} else {
|
|
539
|
+
specDescription += ' PENDING';
|
|
540
|
+
}
|
|
541
541
|
}
|
|
542
542
|
specListNode.appendChild(
|
|
543
543
|
createDom(
|
|
@@ -55,9 +55,6 @@ body {
|
|
|
55
55
|
position: fixed;
|
|
56
56
|
right: 100%;
|
|
57
57
|
}
|
|
58
|
-
.jasmine_html-reporter .jasmine-version {
|
|
59
|
-
color: #aaa;
|
|
60
|
-
}
|
|
61
58
|
.jasmine_html-reporter .jasmine-banner {
|
|
62
59
|
margin-top: 14px;
|
|
63
60
|
}
|
|
@@ -169,10 +166,11 @@ body {
|
|
|
169
166
|
}
|
|
170
167
|
.jasmine_html-reporter .jasmine-bar.jasmine-menu {
|
|
171
168
|
background-color: #fff;
|
|
172
|
-
color: #
|
|
169
|
+
color: #000;
|
|
173
170
|
}
|
|
174
171
|
.jasmine_html-reporter .jasmine-bar.jasmine-menu a {
|
|
175
|
-
color:
|
|
172
|
+
color: blue;
|
|
173
|
+
text-decoration: underline;
|
|
176
174
|
}
|
|
177
175
|
.jasmine_html-reporter .jasmine-bar a {
|
|
178
176
|
color: white;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Copyright (c) 2008-
|
|
2
|
+
Copyright (c) 2008-2019 Pivotal Labs
|
|
3
|
+
Copyright (c) 2008-2024 The Jasmine developers
|
|
3
4
|
|
|
4
5
|
Permission is hereby granted, free of charge, to any person obtaining
|
|
5
6
|
a copy of this software and associated documentation files (the
|
|
@@ -2644,11 +2645,7 @@ getJasmineRequireObj().buildExpectationResult = function(j$) {
|
|
|
2644
2645
|
} else if (options.stack) {
|
|
2645
2646
|
error = options;
|
|
2646
2647
|
} else {
|
|
2647
|
-
|
|
2648
|
-
throw new Error(message());
|
|
2649
|
-
} catch (e) {
|
|
2650
|
-
error = e;
|
|
2651
|
-
}
|
|
2648
|
+
error = new Error(message());
|
|
2652
2649
|
}
|
|
2653
2650
|
}
|
|
2654
2651
|
// Omit the message from the stack trace because it will be
|
|
@@ -3524,7 +3521,7 @@ getJasmineRequireObj().ExceptionFormatter = function(j$) {
|
|
|
3524
3521
|
lines.unshift(stackTrace.message);
|
|
3525
3522
|
}
|
|
3526
3523
|
|
|
3527
|
-
if (error.cause) {
|
|
3524
|
+
if (error.cause && error.cause instanceof Error) {
|
|
3528
3525
|
const substack = this.stack_(error.cause, {
|
|
3529
3526
|
messageHandling: 'require'
|
|
3530
3527
|
});
|
|
@@ -10484,5 +10481,5 @@ getJasmineRequireObj().UserContext = function(j$) {
|
|
|
10484
10481
|
};
|
|
10485
10482
|
|
|
10486
10483
|
getJasmineRequireObj().version = function() {
|
|
10487
|
-
return '4.6.
|
|
10484
|
+
return '4.6.1';
|
|
10488
10485
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Copyright (c) 2008-
|
|
2
|
+
Copyright (c) 2008-2019 Pivotal Labs
|
|
3
|
+
Copyright (c) 2008-2024 The Jasmine developers
|
|
3
4
|
|
|
4
5
|
Permission is hereby granted, free of charge, to any person obtaining
|
|
5
6
|
a copy of this software and associated documentation files (the
|