Skip to content

Commit

Permalink
Stop asserting that formatters have reference and build functions.
Browse files Browse the repository at this point in the history
`reference` isn't even called directly, and there are a whole bunch of other methods that are called directly that we don't even check.
  • Loading branch information
eventualbuddha committed Aug 27, 2014
1 parent bdb666e commit e56c469
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions lib/container.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,6 @@ function Container(options) {
formatter,
'missing required option `formatter`'
);
assert.equal(
typeof formatter.reference, 'function',
'option `formatter` must have function `reference`'
);
assert.equal(
typeof formatter.build, 'function',
'option `formatter` must have function `build`'
);

var resolvers = options && options.resolvers;

Expand Down

0 comments on commit e56c469

Please sign in to comment.