[deploy] Bug Fix:Only Require Timemachine for Testing envs (#11085)

This commit is contained in:
Molly Struve 2020-10-26 09:57:16 -04:00 committed by GitHub
parent 894de8c73f
commit 4a394f1b96
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
//= require timemachine.js
<% if Rails.env.test? %>
//= require timemachine.js
// Ensure that locale time in JavaScript matches the Timezone on
// our server during testing
timemachine.config({