Skip to content

Commit

Permalink
Add :nocov: comments to ignore code coverage for specific sections
Browse files Browse the repository at this point in the history
  • Loading branch information
ngetahun committed Nov 7, 2024
1 parent ee468b3 commit 50df6dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/initializers/yabeda.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# :nocov:
# frozen_string_literal: true

return unless Settings.dig(:scc, :metrics, :enabled)
Expand Down
1 change: 1 addition & 0 deletions lib/rmt/config.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# :nocov:
require 'config'
require_relative '../rmt'

Expand Down

0 comments on commit 50df6dc

Please sign in to comment.