1+ var should = require ( 'chai' ) . should ( ) ;
2+ var expect = require ( 'chai' ) . expect ;
3+ var rewire = require ( 'rewire' ) ;
4+ describe ( 'workers/tiers.js' , function ( ) {
5+ it ( 'should have a idrinth variable in scope' , function ( ) {
6+ var idrinth = rewire ( "../../src/workers/tiers" ) . __get__ ( 'idrinth' ) ;
7+ should . exist ( idrinth ) ;
8+ idrinth . should . be . an ( 'object' ) ;
9+ describe ( 'idrinth' , function ( ) {
10+ it ( 'should have a work property' , function ( ) {
11+ expect ( idrinth ) . to . have . property ( 'work' ) ;
12+ describe ( 'idrinth.work' , function ( ) {
13+ it ( 'work should be a function' , function ( ) {
14+ idrinth . work . should . be . a ( 'function' ) ;
15+ describe ( 'idrinth.work()' , function ( ) {
16+ //todo
17+ } ) ;
18+ } ) ;
19+ } ) ;
20+ } ) ;
21+ it ( 'should have a matchesAny property' , function ( ) {
22+ expect ( idrinth ) . to . have . property ( 'matchesAny' ) ;
23+ describe ( 'idrinth.matchesAny' , function ( ) {
24+ it ( 'matchesAny should be a function' , function ( ) {
25+ idrinth . matchesAny . should . be . a ( 'function' ) ;
26+ describe ( 'idrinth.matchesAny()' , function ( ) {
27+ //todo
28+ } ) ;
29+ } ) ;
30+ } ) ;
31+ } ) ;
32+ it ( 'should have a isFilterValid property' , function ( ) {
33+ expect ( idrinth ) . to . have . property ( 'isFilterValid' ) ;
34+ describe ( 'idrinth.isFilterValid' , function ( ) {
35+ it ( 'isFilterValid should be a function' , function ( ) {
36+ idrinth . isFilterValid . should . be . a ( 'function' ) ;
37+ describe ( 'idrinth.isFilterValid()' , function ( ) {
38+ //todo
39+ } ) ;
40+ } ) ;
41+ } ) ;
42+ } ) ;
43+ } ) ;
44+ } ) ;
45+ } ) ;
0 commit comments