Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
slavaleleka committed Feb 7, 2024
1 parent d232808 commit d5c569c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/scriptlets/set-attr.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,9 @@ test('selector + attr + not allowed string', (assert) => {
});

test('copying another attribute value', (assert) => {
const SPECIAL_VALUE = '[another-attr]';
const ANOTHER_ATTRIBUTE_NAME = 'another-attr';
const ANOTHER_ATTRIBUTE_VALUE = '1234';
const SPECIAL_VALUE = `[${ANOTHER_ATTRIBUTE_NAME}]`;

const { targetSelector, targetElem, mismatchElem } = context;
const scriptletArgs = [targetSelector, TARGET_ATTR_NAME, SPECIAL_VALUE];
Expand Down

0 comments on commit d5c569c

Please sign in to comment.