We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7bc52c commit 469abe6Copy full SHA for 469abe6
config/mutant.yml
@@ -5,6 +5,10 @@ includes:
5
integration: rspec
6
requires:
7
- unparser
8
+mutation:
9
+ timeout: 10.0
10
+coverage_criteria:
11
+ timeout: true
12
matcher:
13
subjects:
14
- 'Unparser*'
spec/spec_helper.rb
@@ -1,16 +1,11 @@
1
require 'pathname'
2
require 'rspec/its'
3
-require 'timeout'
4
require 'unparser'
require 'mutant'
require 'yaml'
require 'parser/current'
-RSpec.configuration.around(file_path: %r{spec/unit}) do |example|
- Timeout.timeout(5, &example)
-end
-
RSpec.shared_examples_for 'a command method' do
15
it 'returns self' do
16
should equal(object)
0 commit comments