No flags found
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
cae5b3f
... +6 ...
9190e60
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
231 | 231 | } |
|
232 | 232 | } |
|
233 | 233 | ||
234 | - | export function makeMyDay(day = null) { |
|
234 | + | export function makeMyDay(day = null, ...rest) { |
|
235 | 235 | return day |
|
236 | 236 | ? (day instanceof Epoch) |
|
237 | 237 | ? day.clone() |
|
238 | - | : Array.isArray(day) |
|
239 | - | ? new Epoch(...day) |
|
238 | + | : rest.length |
|
239 | + | ? new Epoch(day, ...rest) |
|
240 | 240 | : new Epoch(day) |
|
241 | 241 | : null; |
|
242 | 242 | } |
Files | Coverage |
---|---|
src | 0.02% 97.96% |
Project Totals (7 files) | 97.96% |
9190e60
369766e
6c77a15
4bc4d21
58423b8
04e06e5
49457ca
cae5b3f