Skip to content
This repository has been archived by the owner on Jul 6, 2021. It is now read-only.

Make type of test's assert argument more helpful #58

Closed
jzaefferer opened this issue Jun 23, 2014 · 1 comment · Fixed by #89
Closed

Make type of test's assert argument more helpful #58

jzaefferer opened this issue Jun 23, 2014 · 1 comment · Fixed by #89

Comments

@jzaefferer
Copy link
Member

Depends on jquery/grunt-jquery-content#54

Based on #55.

@leobalter
Copy link
Member

Short story: we should be able to do this:

diff --git a/entries/QUnit.test.xml b/entries/QUnit.test.xml
index fd08c08..eaa1402 100644
--- a/entries/QUnit.test.xml
+++ b/entries/QUnit.test.xml
@@ -9,7 +9,7 @@
                <argument name="test">
                        <desc>Function to close over assertions</desc>
                        <type name="Function">
-                               <argument name="assert" type="Object"></argument>
+                               <argument name="assert" type="Assert"></argument>
                        </type>
                </argument>
        </signature>

And set a reference link to the custom type.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants