Merge pull request #528 from glowing-bear/add-filter-tests
Add some basic tests for filters
This commit is contained in:
commit
e56acbc923
4 changed files with 74 additions and 2 deletions
|
@ -3,7 +3,10 @@
|
|||
|
||||
var weechat = angular.module('weechat', ['ngRoute', 'localStorage', 'weechatModels', 'plugins', 'IrcUtils', 'ngSanitize', 'ngWebsockets', 'ngTouch']);
|
||||
weechat.config(['$compileProvider', function ($compileProvider) {
|
||||
$compileProvider.debugInfoEnabled(false);
|
||||
// hack to determine whether we're executing the tests
|
||||
if (typeof(it) === "undefined" && typeof(describe) === "undefined") {
|
||||
$compileProvider.debugInfoEnabled(false);
|
||||
}
|
||||
}]);
|
||||
|
||||
weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout', '$log', 'models', 'connection', 'notifications', 'utils', function ($rootScope, $scope, $store, $timeout, $log, models, connection, notifications, utils) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue