Skip to content

Commit

Permalink
Refactoring: Introduce common method to stub a config
Browse files Browse the repository at this point in the history
This means that we don't need to update irrelevant test cases when we
add a new configuration property.
  • Loading branch information
henrymercer committed Jan 30, 2024
1 parent ec42edc commit d2e867f
Show file tree
Hide file tree
Showing 18 changed files with 114 additions and 207 deletions.
18 changes: 2 additions & 16 deletions lib/analyze.test.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/analyze.test.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 2 additions & 18 deletions lib/codeql.test.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/codeql.test.js.map

Large diffs are not rendered by default.

15 changes: 2 additions & 13 deletions lib/database-upload.test.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d2e867f

Please sign in to comment.