You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
assert.strictEqual(fakeWindow.document.head.querySelectorAll('style, link').length,document.styleSheets.length,'the fake window has as many <style> or <link> elements as document.styleSheets');
726
+
assert.true(containsRulesFromStyle(style1),'a <style> in the fake window contains content from first <style> element');
727
+
assert.true(containsRulesFromStyle(style2),'a <style> in the fake window contains content from second <style> element');
728
+
assert.strictEqual(fakeWindow.document.head.querySelectorAll('link[rel=stylesheet]').length,1,'the fake window has one <link> stylesheet element');
0 commit comments