Skip to content

Commit

Permalink
🔮 finding utils bug
Browse files Browse the repository at this point in the history
  • Loading branch information
scottnath committed Jul 11, 2017
1 parent 39a46b9 commit a1f5c6c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/apis.js
Original file line number Diff line number Diff line change
Expand Up @@ -315,10 +315,7 @@ test.serial('Utils: Format Results - depth with follow', t => {
};

// fixes a bug where sometimes testable.model.attributes is null
if (!testable.model || !testable.model.attributes) {
const refixtures = utils.generate(generated, lang);
testable = utils.testables(refixtures.live, refixtures.types.full);
}
console.log(JSON.stringify(testable, null, 2));

const formatted = apiUtils.format([testable.expected], testable.model.attributes, allTypes, query);

Expand Down

0 comments on commit a1f5c6c

Please sign in to comment.