mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-10 10:17:11 +03:00
Spy on console.warn to prevent spamming in the specs
This commit is contained in:
parent
441dcfb56a
commit
3546f21af7
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user