Skip to content

Commit 375d667

Browse files
committed
updating test to include the button
1 parent 55788a0 commit 375d667

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/consent.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ describe('classifyConsent', () => {
3232
});
3333

3434
it('should correctly identify the target action for Cassie consent forms', () => {
35-
const cssSelector = '#cassie-accept-all-pre-banner';
35+
const cssSelector = 'button#cassie-accept-all-pre-banner';
3636
const consent = classifyConsent(cssSelector);
3737
assert.strictEqual(consent.target, 'accept');
3838
});

0 commit comments

Comments
 (0)