Skip to content

Commit ddda424

Browse files
committed
AC-391: Static test to cover "deprecated" jQuery methods
- Improved static test coverage: - Removed jQuery.load(handler) test as jQuery.load(handler) is a valid function - Removed jQuery.error(handler) test as jQuery.error(msg) is a valid function - Added static tests for $.isFunction, $.type, $.parseJson, $.isArray - Added test for $.expr[':'] and $.expr.filters
1 parent 1547f2a commit ddda424

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Magento2/Tests/Eslint/AbstractEslintTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ abstract class AbstractEslintTestCase extends TestCase
2323
protected function assertFileContainsError(string $testFile, array $expectedMessages): void
2424
{
2525
exec(
26-
'npm run eslint -- Magento2/Tests/Eslint/' . $testFile . ' 2>&1',
26+
'npm run eslint -- Magento2/Tests/Eslint/' . $testFile,
2727
$output
2828
);
2929

0 commit comments

Comments
 (0)