File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ ~~ lineWidth: 80, indentWidth: 2, memberExpression.linePerExpression: true ~~
2+ == generator ==
3+ const createTestData = () =>
4+ function*() {
5+ const startingFrom = yield* Effect.map(DateTime.now, now => DateTime.startOf(now, "day"));
6+
7+ return HashSet.make(DateTime.toEpochMillis(startingFrom));
8+ };
9+
10+
11+ [expect]
12+ const createTestData = () =>
13+ function*() {
14+ const startingFrom = yield* Effect.map(
15+ DateTime.now,
16+ now => DateTime.startOf(now, "day"),
17+ );
18+
19+ return HashSet.make(DateTime.toEpochMillis(startingFrom));
20+ };
21+
22+ == function ==
23+ const func = () =>
24+ function() {
25+ const startingFrom = Effect.map(DateTime.now, now => DateTime.startOf(now, 'day'))
26+
27+ return myObj
28+ .myMethod({
29+ missionType: otherObj.prop.nested,
30+ });
31+ };
32+
33+ [expect]
34+ const func = () =>
35+ function() {
36+ const startingFrom = Effect.map(
37+ DateTime.now,
38+ now => DateTime.startOf(now, "day"),
39+ );
40+
41+ return myObj
42+ .myMethod({
43+ missionType: otherObj.prop.nested,
44+ });
45+ };
You can’t perform that action at this time.
0 commit comments