Skip to content

Commit 5873b49

Browse files
authored
Merge pull request rust-lang#1300 from CvX/percy-fix-take-2
Freeze the time in frontend tests.
2 parents 0a19be4 + 7e9f2a8 commit 5873b49

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)