Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkoumarianos-okta committed Dec 14, 2023
1 parent b2385fb commit a1cd75c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion src/web-auth/captcha.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Authentication from '../authentication';
// eslint-disable-next-line no-unused-vars
import Authentication from '../authentication';
import object from '../helper/object';

var noop = function () {};
Expand Down
4 changes: 0 additions & 4 deletions test/web-auth/captcha.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -390,12 +390,10 @@ describe('captcha rendering', function () {

if (provider === AUTH0_V2_CAPTCHA_PROVIDER) {
it('should remove script and set bypass token after more than 3 errors vvs', function () {
console.log(scriptErrorCallback.toString());
const input = element.querySelector('input[name="captcha"]');
input.value = '';
for (let i = 0; i < 4; i++) {
scriptErrorCallback();
console.log(input.value);
}
expect(
[...window.document.querySelectorAll('script')].find(s =>
Expand Down Expand Up @@ -989,12 +987,10 @@ describe('passwordless captcha rendering', function () {

if (provider === AUTH0_V2_CAPTCHA_PROVIDER) {
it('should remove script and set bypass token after more than 3 errors vvs', function () {
console.log(scriptErrorCallback.toString());
const input = element.querySelector('input[name="captcha"]');
input.value = '';
for (let i = 0; i < 4; i++) {
scriptErrorCallback();
console.log(input.value);
}
expect(
[...window.document.querySelectorAll('script')].find(s =>
Expand Down

0 comments on commit a1cd75c

Please sign in to comment.