Skip to content

Commit

Permalink
test(options): allow challenge to appear anywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
trieloff committed Nov 6, 2023
1 parent 5fcbc97 commit b2ad25d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/options-pipe.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,6 @@ describe('RUM Challenge OPTIONS Request', () => {
assert.strictEqual(response.status, 204);
const challenge = response.headers.get('x-rum-challenge');
// assert that the challenge is set
assert.strictEqual(challenge, '7263bf25ef81b7a406a1bea7f367d553441c420678fc74726a7a8f9f63b8d5a7');
assert.equal(challenge.indexOf('7263bf25ef81b7a406a1bea7f367d553441c420678fc74726a7a8f9f63b8d5a7'), 0);
});
});

0 comments on commit b2ad25d

Please sign in to comment.