kopia lustrzana https://github.com/c9/core
Add vfs.log mock to tests
rodzic
3c93c26df2
commit
3d28206252
|
@ -108,7 +108,7 @@
|
|||
"c9.ide.run": "#485f06bd22",
|
||||
"c9.ide.run.build": "#0598fff697",
|
||||
"c9.ide.run.debug.xdebug": "#9956689819",
|
||||
"c9.ide.save": "#8219605f37",
|
||||
"c9.ide.save": "#25a63f31e2",
|
||||
"c9.ide.scm": "#dc87315012",
|
||||
"c9.ide.terminal.monitor": "#1a4092ede2",
|
||||
"c9.ide.test": "#a282ec1619",
|
||||
|
|
|
@ -21,7 +21,7 @@ require(["lib/architect/architect", "lib/chai/chai", "/vfs-root"],
|
|||
//Mock Plugins
|
||||
{
|
||||
consumes: ["Plugin"],
|
||||
provides: ["auth.bootstrap", "info", "dialog.error"],
|
||||
provides: ["auth.bootstrap", "info", "dialog.error", "vfs.log"],
|
||||
setup: expect.html.mocked
|
||||
},
|
||||
{
|
||||
|
|
|
@ -94,6 +94,9 @@ require([
|
|||
var x = new EventEmitter();
|
||||
return x;
|
||||
})(),
|
||||
"vfs.log": {
|
||||
log: function(){}
|
||||
},
|
||||
anims: (function(){
|
||||
var x = new EventEmitter();
|
||||
x.animateSplitBoxNode = function(node, opt) {
|
||||
|
|
Ładowanie…
Reference in New Issue