@@ -5,6 +5,7 @@ import styleguideLoader from '../loaders/styleguide.loader';
55test ( 'should return valid, parsable JS' , t => {
66 const file = 'components/Button/Button.js' ;
77 const result = styleguideLoader . pitch . call ( {
8+ addContextDependency : ( ) => { } ,
89 request : file ,
910 options : {
1011 styleguidist : {
@@ -22,6 +23,7 @@ test('should return valid, parsable JS', t => {
2223test ( 'should return correct component paths: glob' , t => {
2324 const file = 'components/Button/Button.js' ;
2425 const result = styleguideLoader . pitch . call ( {
26+ addContextDependency : ( ) => { } ,
2527 request : file ,
2628 options : {
2729 styleguidist : {
@@ -41,6 +43,7 @@ test('should return correct component paths: glob', t => {
4143test ( 'should return correct component paths: function returning absolute paths' , t => {
4244 const file = 'components/Button/Button.js' ;
4345 const result = styleguideLoader . pitch . call ( {
46+ addContextDependency : ( ) => { } ,
4447 request : file ,
4548 options : {
4649 styleguidist : {
@@ -63,6 +66,7 @@ test('should return correct component paths: function returning absolute paths',
6366test ( 'should return correct component paths: function returning relative paths' , t => {
6467 const file = 'components/Button/Button.js' ;
6568 const result = styleguideLoader . pitch . call ( {
69+ addContextDependency : ( ) => { } ,
6670 request : file ,
6771 options : {
6872 styleguidist : {
0 commit comments