Skip to content

Commit 0f429e5

Browse files
committed
format + fix workflow
1 parent 989431f commit 0f429e5

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

.github/workflows/npm-prerelease.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ jobs:
3535

3636
publish-preview:
3737
# 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
4039
needs: test
4140
runs-on: ubuntu-latest
4241
environment:

src/routes/transforms/jitter/+page.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ The jitter transform accepts the following options:
7676
- Useful for deterministic jittering (testing or reproducibility)
7777
- Can be used with d3's random generators: `randomLcg()` from d3-random
7878

79-
8079
## jitterX
8180

8281
Jitters along the x dimension:

src/tests/line.test.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,6 @@ describe('Line mark', () => {
229229
});
230230

231231
it('does not connect points from different groups', () => {
232-
233232
const { container } = render(LineTest, {
234233
props: {
235234
data: [
@@ -249,10 +248,9 @@ describe('Line mark', () => {
249248
) as NodeListOf<SVGPathElement>;
250249
expect(lines).toHaveLength(3);
251250

252-
const ds = Array.from(lines).map(l => l.getAttribute('d'));
251+
const ds = Array.from(lines).map((l) => l.getAttribute('d'));
253252
expect(ds[0]).toBe('M1,95L96,5');
254253
expect(ds[1]).toBe('M1,5Z');
255254
expect(ds[2]).toBe('M48.5,5Z');
256-
257-
})
255+
});
258256
});

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy