UNPKG
decojs
Version:
latest (0.9.1)
0.9.1
0.9.0
0.8.1
0.8.0
0.7.1
0.7.0
0.6.1
0.6.0
0.5.4
0.5.3
0.5.2
0.5.1
0.5.0
0.4.0
0.3.0
Scalable frontend architecture
github.com/decojs/DecoJS
decojs/DecoJS
decojs
/
Specs
/
Modules
/
for_utils
/
when_calling_inheritsFrom.js
12 lines
(10 loc)
•
268 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
describe
(
"when calling inheritsFrom"
, [
"deco/utils"
],
function
( utils ){
function
MyObject
() {}
it
(
"should return an object which is an instance of the passed in argument"
,
function
(){
expect
(utils.
inheritsFrom
(MyObject)).
toBeA
(MyObject); }); });