blob: 7518cec160c0dd38f3e9aa60556acb7dfa219dcc (
plain)
1
2
3
4
5
6
7
8
9
|
# frozen_string_literal: true
module PerformanceBarHelper
# This is a hack since using `alias_method :performance_bar_enabled?, :peek_enabled?`
# in WithPerformanceBar breaks tests (but works in the browser).
def performance_bar_enabled?
peek_enabled?
end
end
|