Skip to content

Commit 15c4876

Browse files
committed
coverage
1 parent cf9ce72 commit 15c4876

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

lib/hooks/app/api.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ class << self
2727

2828
# Create a new configured API class
2929
def self.create(config:, endpoints:, log:)
30+
# :nocov:
3031
@server_start_time = Time.now
3132

3233
api_class = Class.new(Grape::API) do
@@ -152,6 +153,7 @@ def self.create(config:, endpoints:, log:)
152153
end
153154

154155
api_class
156+
# :nocov:
155157
end
156158
end
157159
end
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# frozen_string_literal: true
22

3-
REQUIRED_COVERAGE_PERCENTAGE = 90
3+
REQUIRED_COVERAGE_PERCENTAGE = 99

0 commit comments

Comments
 (0)