mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08:00
use yarn to manage test vendor dependencies, upgrade sinon to v6.3.5
This commit is contained in:
@ -134,7 +134,7 @@ QUnit.test("selectUp calls _moveSelection with -1", assert => {
|
||||
|
||||
QUnit.test("goBack calls history.back", assert => {
|
||||
var called = false;
|
||||
sandbox.stub(history, "back", function() {
|
||||
sandbox.stub(history, "back").callsFake(function() {
|
||||
called = true;
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user