Skip to content

Commit

Permalink
Feature tour is always first time in test env (#659)
Browse files Browse the repository at this point in the history
  • Loading branch information
durran committed Dec 2, 2016
1 parent 1354c85 commit 2a93a8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/tour/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ var TourView = View.extend({
title: {
deps: ['previousVersion'],
fn: function() {
return this.previousVersion === '0.0.0' ?
return (this.previousVersion === '0.0.0' || process.env.NODE_ENV === 'testing') ?
'Welcome to MongoDB Compass' : 'What\'s New in MongoDB Compass';
}
}
Expand Down

0 comments on commit 2a93a8d

Please sign in to comment.