2022-01-20 18:14:54 +00:00
|
|
|
# typed: true
|
|
|
|
|
2020-11-17 04:49:54 +01:00
|
|
|
# DO NOT EDIT MANUALLY
|
|
|
|
# This is an autogenerated file for types exported from the `rspec-sorbet` gem.
|
2021-09-17 19:28:50 +01:00
|
|
|
# Please instead update this file by running `bin/tapioca gem rspec-sorbet`.
|
2020-11-17 04:49:54 +01:00
|
|
|
|
2021-09-10 21:21:17 +01:00
|
|
|
module RSpec
|
|
|
|
extend ::RSpec::Support::Warnings
|
|
|
|
extend ::RSpec::Core::Warnings
|
|
|
|
|
|
|
|
class << self
|
|
|
|
def clear_examples; end
|
|
|
|
def configuration; end
|
|
|
|
def configuration=(_arg0); end
|
|
|
|
def configure; end
|
|
|
|
def const_missing(name); end
|
|
|
|
def context(*args, &example_group_block); end
|
|
|
|
def current_example; end
|
|
|
|
def current_example=(example); end
|
2022-05-02 20:59:59 +01:00
|
|
|
def current_scope; end
|
|
|
|
def current_scope=(scope); end
|
2021-09-10 21:21:17 +01:00
|
|
|
def describe(*args, &example_group_block); end
|
|
|
|
def example_group(*args, &example_group_block); end
|
|
|
|
def fcontext(*args, &example_group_block); end
|
|
|
|
def fdescribe(*args, &example_group_block); end
|
|
|
|
def reset; end
|
|
|
|
def shared_context(name, *args, &block); end
|
|
|
|
def shared_examples(name, *args, &block); end
|
|
|
|
def shared_examples_for(name, *args, &block); end
|
|
|
|
def world; end
|
|
|
|
def world=(_arg0); end
|
|
|
|
def xcontext(*args, &example_group_block); end
|
|
|
|
def xdescribe(*args, &example_group_block); end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
RSpec::MODULES_TO_AUTOLOAD = T.let(T.unsafe(nil), Hash)
|
|
|
|
RSpec::SharedContext = RSpec::Core::SharedContext
|
|
|
|
|
|
|
|
module RSpec::Sorbet
|
|
|
|
extend ::RSpec::Sorbet::Doubles
|
|
|
|
end
|
|
|
|
|
|
|
|
module RSpec::Sorbet::Doubles
|
|
|
|
def allow_doubles!; end
|
|
|
|
def allow_instance_doubles!; end
|
|
|
|
|
|
|
|
private
|
|
|
|
|
2022-09-08 09:18:00 +00:00
|
|
|
def call_validation_error_handler(signature, opts); end
|
2021-09-10 21:21:17 +01:00
|
|
|
def double_message_with_ellipsis?(message); end
|
2022-09-08 09:18:00 +00:00
|
|
|
def handle_call_validation_error(signature, opts); end
|
2021-09-10 21:21:17 +01:00
|
|
|
def inline_type_error_handler(error); end
|
|
|
|
def typed_array_message?(message); end
|
|
|
|
def unable_to_check_type_for_message?(message); end
|
|
|
|
end
|
|
|
|
|
|
|
|
RSpec::Sorbet::Doubles::INLINE_DOUBLE_REGEX = T.let(T.unsafe(nil), Regexp)
|
|
|
|
RSpec::Sorbet::Doubles::TYPED_ARRAY_MESSAGE = T.let(T.unsafe(nil), Regexp)
|
|
|
|
RSpec::Sorbet::Doubles::VERIFYING_DOUBLE_OR_DOUBLE = T.let(T.unsafe(nil), Regexp)
|