Skip to content

Commit ab9e99c

Browse files
authored
Merge pull request #17 from jamiefdhurst/tests
Adding tests
2 parents ef1dab7 + 4223eda commit ab9e99c

File tree

17 files changed

+1287
-65
lines changed

17 files changed

+1287
-65
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,13 @@ jobs:
5757
with:
5858
filename: coverage/cobertura-coverage.xml
5959
badge: false
60-
fail_below_min: false
60+
fail_below_min: true
6161
format: markdown
6262
hide_branch_rate: false
6363
hide_complexity: true
6464
indicators: true
6565
output: both
66-
thresholds: '50 80'
66+
thresholds: '80 90'
6767
- name: Add Coverage PR Comment
6868
uses: marocchino/sticky-pull-request-comment@v2
6969
if: github.event_name == 'pull_request'

fix-jest-environment-obsidian.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
# workaround for https://github.com/obsidian-community/jest-environment-obsidian/issues/3
3+
cp jest-environment-obsidian.js node_modules/jest-environment-obsidian/dist/jest-environment.js

0 commit comments

Comments
 (0)