mustafa5253 / js-test-driver

Automatically exported from code.google.com/p/js-test-driver
0 stars 0 forks source link

TestCase and AsyncTestCase throw off JSHint #423

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Write a TestCase or AsyncTestCase.
2. Use JSHint to lint your code.
3. Watch JSHint complain about TestCase and AsyncTestCase being used without 
'new'.

What is the expected output? What do you see instead?
Identifiers starting with capitals indicate constructor functions. 
Js-test-driver should provide lowercased versions of these functions or should 
rename their functions (hah!).

What version of the product are you using? On what operating system?
<groupId>com.google.jstestdriver</groupId>
<artifactId>jstestdriver</artifactId>
<version>1.3.5</version>

Original issue reported on code.google.com by chris.ei...@ek3.com on 7 Feb 2013 at 9:48