mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Snapshot deprecations around calls to Project::eachBuffer
This commit is contained in:
@@ -502,8 +502,12 @@ describe "Project", ->
|
||||
|
||||
describe ".eachBuffer(callback)", ->
|
||||
beforeEach ->
|
||||
jasmine.snapshotDeprecations()
|
||||
atom.project.bufferForPathSync('a')
|
||||
|
||||
afterEach ->
|
||||
jasmine.restoreDeprecationsSnapshot()
|
||||
|
||||
it "invokes the callback for existing buffer", ->
|
||||
count = 0
|
||||
count = 0
|
||||
|
||||
Reference in New Issue
Block a user