Skip to content

Commit 95173c1

Browse files
committed
mirage: Add version-download factory
1 parent e349b6c commit 95173c1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

mirage/factories/version-download.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import { Factory } from 'ember-cli-mirage';
2+
3+
export default Factory.extend({
4+
// version
5+
6+
date: '2019-05-21',
7+
downloads: i => (((i * 42) % 13) + 4) * 2345,
8+
});

0 commit comments

Comments
 (0)