Skip to content

Commit

Permalink
Fixing test
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Walter committed Oct 26, 2019
1 parent 0063e41 commit 836b91f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const { test } = require('@ianwalter/bff')
const { DecisionTree, NoLeadToError } = require('.')
const { DecisionTree, NoLeadsToError } = require('.')

const proficiency = {
key: 'proficiency',
Expand Down Expand Up @@ -194,6 +194,6 @@ test('NoLeadToError', ctx => {
decisionTree.next()
decisionTree.next()
} catch (err) {
ctx.expect(err instanceof NoLeadToError).toBe(true)
ctx.expect(err instanceof NoLeadsToError).toBe(true)
}
})

0 comments on commit 836b91f

Please sign in to comment.