Skip to content

Commit

Permalink
In the test was throw undefined which is not catched with mocha. (#2345)
Browse files Browse the repository at this point in the history
Co-authored-by: Stanislav Dunajcan <sdunajcan@bmcgroup.com>
  • Loading branch information
candunaj and candunaj authored Dec 3, 2021
1 parent 5d0f0f5 commit 61c8da5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ describe('DeviseAuthenticator', () => {

describe('when the data contains a custom token and email attribute', function() {
beforeEach(function() {
authenticator = Devise.extend({ tokenAttributeName: 'employee.token', identificationAttributeName: 'employee.email' }).create();
authenticator = Devise.extend({ resourceName: 'employee', tokenAttributeName: 'token', identificationAttributeName: 'email' }).create();
});

it('resolves with the correct data', async function() {
Expand Down

0 comments on commit 61c8da5

Please sign in to comment.