Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e86a7f00a6 | ||
|
|
504ef27899 | ||
|
|
572452a15a |
@@ -991,7 +991,7 @@ x */
|
|||||||
if (this.message) {
|
if (this.message) {
|
||||||
this.excludeMessage = message;
|
this.excludeMessage = message;
|
||||||
}
|
}
|
||||||
this.pend();
|
this.pend(message);
|
||||||
};
|
};
|
||||||
|
|
||||||
Spec.prototype.getResult = function() {
|
Spec.prototype.getResult = function() {
|
||||||
@@ -10111,5 +10111,5 @@ getJasmineRequireObj().UserContext = function(j$) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
getJasmineRequireObj().version = function() {
|
getJasmineRequireObj().version = function() {
|
||||||
return '3.10.0';
|
return '3.10.1';
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -4,6 +4,6 @@
|
|||||||
#
|
#
|
||||||
module Jasmine
|
module Jasmine
|
||||||
module Core
|
module Core
|
||||||
VERSION = "3.10.0"
|
VERSION = "3.10.1"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "jasmine-core",
|
"name": "jasmine-core",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"version": "3.10.0",
|
"version": "3.10.1",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/jasmine/jasmine.git"
|
"url": "https://github.com/jasmine/jasmine.git"
|
||||||
|
|||||||
@@ -39,6 +39,19 @@
|
|||||||
|
|
||||||
* Added a deprecation notice to the jasmine-core Ruby gem's description
|
* Added a deprecation notice to the jasmine-core Ruby gem's description
|
||||||
|
|
||||||
|
## Supported environments
|
||||||
|
|
||||||
|
jasmine-core 3.10.0 has been tested in the following environments.
|
||||||
|
|
||||||
|
| Environment | Supported versions |
|
||||||
|
|-------------------|--------------------|
|
||||||
|
| Node | 10, 12, 14, 16 |
|
||||||
|
| Safari | 8-14 |
|
||||||
|
| Chrome | 94 |
|
||||||
|
| Firefox | 93, 78, 68 |
|
||||||
|
| Edge | 94 |
|
||||||
|
| Internet Explorer | 10, 11 |
|
||||||
|
|
||||||
------
|
------
|
||||||
|
|
||||||
_Release Notes generated with _[Anchorman](http://github.com/infews/anchorman)_
|
_Release Notes generated with _[Anchorman](http://github.com/infews/anchorman)_
|
||||||
|
|||||||
12
release_notes/3.10.1.md
Normal file
12
release_notes/3.10.1.md
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
# Jasmine Core 3.10.1 Release Notes
|
||||||
|
|
||||||
|
## Bugfixes
|
||||||
|
|
||||||
|
* Fixed missing pendingReason in pending spec results
|
||||||
|
* Fixes [#1939](https://github.com/jasmine/jasmine/issues/1939)
|
||||||
|
* Merges [#1940](https://github.com/jasmine/jasmine/pull/1940) from @jan-molak
|
||||||
|
|
||||||
|
|
||||||
|
------
|
||||||
|
|
||||||
|
_Release Notes generated with _[Anchorman](http://github.com/infews/anchorman)_
|
||||||
@@ -274,6 +274,18 @@ describe('Env', function() {
|
|||||||
expect(excludeSpy).toHaveBeenCalledWith('Temporarily disabled with xit');
|
expect(excludeSpy).toHaveBeenCalledWith('Temporarily disabled with xit');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
it('calls spec.pend with "Temporarily disabled with xit"', function() {
|
||||||
|
var pendSpy = jasmine.createSpy();
|
||||||
|
var realExclude = jasmineUnderTest.Spec.prototype.exclude;
|
||||||
|
|
||||||
|
spyOn(env, 'it').and.returnValue({
|
||||||
|
exclude: realExclude,
|
||||||
|
pend: pendSpy
|
||||||
|
});
|
||||||
|
env.xit('foo', function() {});
|
||||||
|
expect(pendSpy).toHaveBeenCalledWith('Temporarily disabled with xit');
|
||||||
|
});
|
||||||
|
|
||||||
it('throws an error when it receives a non-fn argument', function() {
|
it('throws an error when it receives a non-fn argument', function() {
|
||||||
expect(function() {
|
expect(function() {
|
||||||
env.xit('undefined arg', null);
|
env.xit('undefined arg', null);
|
||||||
|
|||||||
@@ -236,7 +236,7 @@ x */
|
|||||||
if (this.message) {
|
if (this.message) {
|
||||||
this.excludeMessage = message;
|
this.excludeMessage = message;
|
||||||
}
|
}
|
||||||
this.pend();
|
this.pend(message);
|
||||||
};
|
};
|
||||||
|
|
||||||
Spec.prototype.getResult = function() {
|
Spec.prototype.getResult = function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user