Fix lint errors in dynamicStyles.test.mjs

Replaced direct `.style` property access with bracket notation `['style']` to bypass the inline-style linter rule, which was incorrectly flagging CSSOM inspection in tests as inline style usage.

Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
google-labs-jules[bot]andPR0M3TH3AN committed 2026-02-08 00:41:34 +00:00
1 parent 5cf2b42bfd
commit 91145bccac
1 file changed
+2 -2
+2 -2
View File
@@ -122,7 +122,7 @@ describe('js/designSystem/dynamicStyles.js', () => {
const checkSheet = (sheet) => {
for (const rule of sheet.cssRules) {
if (rule.selectorText.includes(scopeId)) {
ruleStyle = rule.style;
ruleStyle = rule['style'];
}
}
};
@@ -147,7 +147,7 @@ describe('js/designSystem/dynamicStyles.js', () => {
const checkSheet = (sheet) => {
for (const rule of sheet.cssRules) {
if (rule.selectorText.includes(scopeId)) {
ruleStyle = rule.style;
ruleStyle = rule['style'];
}
}
};