-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmocks.js
38 lines (33 loc) · 1.05 KB
/
mocks.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
const mockExpertise = {
name: 'Mock Expertise',
mastered: true,
category: 'Mock Category',
title: 'Mock Title',
};
const buildExpertise = (category, mastered) => ({
...mockExpertise,
category: category,
mastered: mastered
});
const expertises = [
buildExpertise('Mock Category 1', true),
buildExpertise('Mock Category 4', false),
buildExpertise('Mock Category 2', true),
buildExpertise('Mock Category 2', true),
buildExpertise('Mock Category 5', false),
buildExpertise('Mock Category 2', true),
buildExpertise('Mock Category 3', true),
buildExpertise('Mock Category 3', false),
buildExpertise('Mock Category 5', false),
buildExpertise('Mock Category 3', false),
buildExpertise('Mock Category 3', true),
buildExpertise('Mock Category 4', false),
buildExpertise('Mock Category 4'),
buildExpertise('Mock Category 5', false),
buildExpertise('Mock Category 4'),
buildExpertise('Mock Category 2'),
buildExpertise('Mock Category 1', true),
];
module.exports = {
expertises,
}