-
Notifications
You must be signed in to change notification settings - Fork 263
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Avoid infinite render on value change (#524)
- Loading branch information
1 parent
e0248ce
commit 7fbe850
Showing
3 changed files
with
32 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import { expect } from 'chai'; | ||
import startApp from '../helpers/start-app'; | ||
import destroyApp from '../helpers/destroy-app'; | ||
|
||
import { | ||
describe, | ||
it, | ||
beforeEach, | ||
afterEach, | ||
} from 'mocha'; | ||
|
||
describe('Acceptance: live firebase connection', function () { | ||
beforeEach(function () { | ||
this.application = startApp(); | ||
}); | ||
|
||
afterEach(function () { | ||
destroyApp(this.application); | ||
}); | ||
|
||
it('handles live connections in testing', function () { | ||
visit('/posts'); | ||
|
||
andThen(function () { | ||
expect(currentPath()).to.equal('posts.index'); | ||
}); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters