Skip to content

Commit

Permalink
fix ColorBar.test.ts and remove PR to main trigger from gh-pages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
janosh committed Apr 3, 2023
1 parent 30ffa40 commit f3ecd7e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: GitHub Pages

on:
pull_request:
branches: [main]
push:
branches: [main]
workflow_dispatch:
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/ColorBar.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ describe(`ColorBar`, () => {
expect(cbar_div.style.width).toBe(`200px`)

const tick_labels = document.querySelectorAll(`.colorbar > div > span`)
expect(tick_labels.length).toBe(5)
expect(tick_labels.length).toBe(6)

const wrapper = doc_query(`.colorbar`)
expect(wrapper.style.margin).toBe(`10px`)
Expand Down

0 comments on commit f3ecd7e

Please sign in to comment.