mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Spy on console.warn to prevent spamming in the specs
This commit is contained in:
@@ -78,6 +78,7 @@ describe "StylesElement", ->
|
||||
describe "atom-text-editor shadow DOM selector upgrades", ->
|
||||
beforeEach ->
|
||||
element.setAttribute('context', 'atom-text-editor')
|
||||
spyOn(console, 'warn')
|
||||
|
||||
it "upgrades selectors containing .editor-colors", ->
|
||||
atom.styles.addStyleSheet(".editor-colors {background: black;}", context: 'atom-text-editor')
|
||||
|
||||
Reference in New Issue
Block a user