We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7dcee95 + 85a61aa commit 10e18c6Copy full SHA for 10e18c6
index.json
@@ -79,6 +79,14 @@
79
"lhm": {},
80
"lhm-shopify": {},
81
"minitest": {},
82
+ "minitest-hooks": {
83
+ "dependencies": [
84
+ "minitest"
85
+ ],
86
+ "requires": [
87
+ "minitest/hooks"
88
+ ]
89
+ },
90
"mocha": {
91
"requires": [
92
"mocha/api"
rbi/annotations/minitest-hooks.rbi
@@ -0,0 +1,9 @@
1
+# typed: true
2
+
3
+class Minitest::HooksSpec
4
+ sig { params(type: T.nilable(Symbol), block: T.proc.bind(T.attached_class).void).void }
5
+ def self.before(type = nil, &block); end
6
7
8
+ def self.after(type = nil, &block); end
9
+end
0 commit comments