File tree Expand file tree Collapse file tree 3 files changed +3
-7
lines changed Expand file tree Collapse file tree 3 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 35
35
36
36
publish-preview :
37
37
# Prevent this job from running on forks
38
- if : github.repository == 'svelteplot/svelteplot'
39
- if : github.event.pull_request.draft == false
38
+ if : github.repository == 'svelteplot/svelteplot' && github.event.pull_request.draft == false
40
39
needs : test
41
40
runs-on : ubuntu-latest
42
41
environment :
Original file line number Diff line number Diff line change @@ -76,7 +76,6 @@ The jitter transform accepts the following options:
76
76
- Useful for deterministic jittering (testing or reproducibility)
77
77
- Can be used with d3's random generators: ` randomLcg() ` from d3-random
78
78
79
-
80
79
## jitterX
81
80
82
81
Jitters along the x dimension:
Original file line number Diff line number Diff line change @@ -229,7 +229,6 @@ describe('Line mark', () => {
229
229
} ) ;
230
230
231
231
it ( 'does not connect points from different groups' , ( ) => {
232
-
233
232
const { container } = render ( LineTest , {
234
233
props : {
235
234
data : [
@@ -249,10 +248,9 @@ describe('Line mark', () => {
249
248
) as NodeListOf < SVGPathElement > ;
250
249
expect ( lines ) . toHaveLength ( 3 ) ;
251
250
252
- const ds = Array . from ( lines ) . map ( l => l . getAttribute ( 'd' ) ) ;
251
+ const ds = Array . from ( lines ) . map ( ( l ) => l . getAttribute ( 'd' ) ) ;
253
252
expect ( ds [ 0 ] ) . toBe ( 'M1,95L96,5' ) ;
254
253
expect ( ds [ 1 ] ) . toBe ( 'M1,5Z' ) ;
255
254
expect ( ds [ 2 ] ) . toBe ( 'M48.5,5Z' ) ;
256
-
257
- } )
255
+ } ) ;
258
256
} ) ;
You can’t perform that action at this time.
0 commit comments