Skip to content

Commit

Permalink
fix test expecting TZ
Browse files Browse the repository at this point in the history
  • Loading branch information
anotherchrisberry committed Aug 26, 2015
1 parent c2f563c commit a63ce7f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ describe('Directive: GCE Load Balancers Selector', function() {
_infrastructureCaches_.loadBalancers = {
getStats: function() {return {ageMax: t}}
};
var m = _momentService_(t);
expectedTime = m.format('YYYY-MM-DD HH:mm:ss');
var m = _momentService_.tz(t, 'America/Los_Angeles');
expectedTime = m.format('YYYY-MM-DD HH:mm:ss z');

selector = angular.element('<gce-server-group-load-balancers-selector command="command" />');
}));
Expand Down
4 changes: 4 additions & 0 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ module.exports = function(config) {
test: /\.html$/,
loader: 'ngtemplate?relativeTo=' + __dirname + '/!html'
},
{
test: /\.json$/,
loader: 'json-loader'
},
],
postLoaders: [
{
Expand Down

0 comments on commit a63ce7f

Please sign in to comment.