Skip to content

Commit 7e9f2a8

Browse files
committed
Freeze the time in tests.
Fixes remaining issues in Percy.
1 parent 0a19be4 commit 7e9f2a8

File tree

4 files changed

+358
-1
lines changed

4 files changed

+358
-1
lines changed

ember-cli-build.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,11 @@ module.exports = function(defaults) {
4949
// modules that you would like to import into your application
5050
// please specify an object with the list of modules as keys
5151
// along with the exports of each module as its value.
52+
app.import('node_modules/timekeeper/lib/timekeeper.js', {
53+
using: [
54+
{ transformation: 'cjs', as: 'timekeeper' },
55+
],
56+
});
57+
5258
return app.toTree();
5359
};

0 commit comments

Comments
 (0)