Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
12f56fdb7d | ||
|
|
afa18e554c | ||
|
|
7205d07c67 | ||
|
|
f05ab79731 |
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
[](https://travis-ci.org/jasmine/jasmine)
|
[](https://travis-ci.org/jasmine/jasmine)
|
||||||
[](https://www.codetriage.com/jasmine/jasmine)
|
[](https://www.codetriage.com/jasmine/jasmine)
|
||||||
|
[](https://app.fossa.io/projects/git%2Bgithub.com%2Fjasmine%2Fjasmine?ref=badge_shield)
|
||||||
|
|
||||||
# A JavaScript Testing Framework
|
# A JavaScript Testing Framework
|
||||||
|
|
||||||
@@ -75,3 +76,7 @@ Jasmine tests itself across many browsers (Safari, Chrome, Firefox, PhantomJS, M
|
|||||||
* Sheel Choksi
|
* Sheel Choksi
|
||||||
|
|
||||||
Copyright (c) 2008-2018 Pivotal Labs. This software is licensed under the MIT License.
|
Copyright (c) 2008-2018 Pivotal Labs. This software is licensed under the MIT License.
|
||||||
|
|
||||||
|
|
||||||
|
## License
|
||||||
|
[](https://app.fossa.io/projects/git%2Bgithub.com%2Fjasmine%2Fjasmine?ref=badge_large)
|
||||||
@@ -1308,6 +1308,10 @@ getJasmineRequireObj().Env = function(j$) {
|
|||||||
return spyRegistry.spyOnProperty.apply(spyRegistry, arguments);
|
return spyRegistry.spyOnProperty.apply(spyRegistry, arguments);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
this.spyOnAllFunctions = function() {
|
||||||
|
return spyRegistry.spyOnAllFunctions.apply(spyRegistry, arguments);
|
||||||
|
};
|
||||||
|
|
||||||
this.createSpy = function(name, originalFn) {
|
this.createSpy = function(name, originalFn) {
|
||||||
if (arguments.length === 1 && j$.isFunction_(name)) {
|
if (arguments.length === 1 && j$.isFunction_(name)) {
|
||||||
originalFn = name;
|
originalFn = name;
|
||||||
@@ -5482,7 +5486,7 @@ getJasmineRequireObj().interface = function(jasmine, env) {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Installs spies on all writable and configurable properties of an object.
|
* Installs spies on all writable and configurable properties of an object.
|
||||||
* @name spyOnProperty
|
* @name spyOnAllFunctions
|
||||||
* @function
|
* @function
|
||||||
* @global
|
* @global
|
||||||
* @param {Object} obj - The object upon which to install the {@link Spy}s
|
* @param {Object} obj - The object upon which to install the {@link Spy}s
|
||||||
@@ -6613,5 +6617,5 @@ getJasmineRequireObj().UserContext = function(j$) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
getJasmineRequireObj().version = function() {
|
getJasmineRequireObj().version = function() {
|
||||||
return '3.2.0';
|
return '3.2.1';
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -4,6 +4,6 @@
|
|||||||
#
|
#
|
||||||
module Jasmine
|
module Jasmine
|
||||||
module Core
|
module Core
|
||||||
VERSION = "3.2.0"
|
VERSION = "3.2.1"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "jasmine-core",
|
"name": "jasmine-core",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"version": "3.2.0",
|
"version": "3.2.1",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/jasmine/jasmine.git"
|
"url": "https://github.com/jasmine/jasmine.git"
|
||||||
|
|||||||
11
release_notes/3.2.1.md
Normal file
11
release_notes/3.2.1.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# Jasmine-Core 3.2.1 Release Notes
|
||||||
|
|
||||||
|
## Changes
|
||||||
|
|
||||||
|
* Correctly expose `spyOnAllFunctions`
|
||||||
|
- See [#1581](https://github.com/jasmine/jasmine/issues/1581)
|
||||||
|
|
||||||
|
|
||||||
|
------
|
||||||
|
|
||||||
|
_Release Notes generated with _[Anchorman](http://github.com/infews/anchorman)_
|
||||||
@@ -537,6 +537,10 @@ getJasmineRequireObj().Env = function(j$) {
|
|||||||
return spyRegistry.spyOnProperty.apply(spyRegistry, arguments);
|
return spyRegistry.spyOnProperty.apply(spyRegistry, arguments);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
this.spyOnAllFunctions = function() {
|
||||||
|
return spyRegistry.spyOnAllFunctions.apply(spyRegistry, arguments);
|
||||||
|
};
|
||||||
|
|
||||||
this.createSpy = function(name, originalFn) {
|
this.createSpy = function(name, originalFn) {
|
||||||
if (arguments.length === 1 && j$.isFunction_(name)) {
|
if (arguments.length === 1 && j$.isFunction_(name)) {
|
||||||
originalFn = name;
|
originalFn = name;
|
||||||
|
|||||||
@@ -237,7 +237,7 @@ getJasmineRequireObj().interface = function(jasmine, env) {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Installs spies on all writable and configurable properties of an object.
|
* Installs spies on all writable and configurable properties of an object.
|
||||||
* @name spyOnProperty
|
* @name spyOnAllFunctions
|
||||||
* @function
|
* @function
|
||||||
* @global
|
* @global
|
||||||
* @param {Object} obj - The object upon which to install the {@link Spy}s
|
* @param {Object} obj - The object upon which to install the {@link Spy}s
|
||||||
|
|||||||
Reference in New Issue
Block a user