Skip to content

Commit 9e8b920

Browse files
author
Nitin Gurram
committed
Fixed Typings and Test Cases
1 parent fe3f156 commit 9e8b920

File tree

8 files changed

+6
-55
lines changed

8 files changed

+6
-55
lines changed

Tasks/ANT/make.json

Lines changed: 0 additions & 23 deletions
This file was deleted.

Tasks/ANT/task.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"version": {
1414
"Major": 1,
1515
"Minor": 0,
16-
"Patch": 55
16+
"Patch": 56
1717
},
1818
"demands": [
1919
"ant"

Tasks/ANT/task.loc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"version": {
1414
"Major": 1,
1515
"Minor": 0,
16-
"Patch": 55
16+
"Patch": 56
1717
},
1818
"demands": [
1919
"ant"

Tasks/Common/codecoverage-tools/typings.json

Lines changed: 0 additions & 13 deletions
This file was deleted.

Tasks/Common/codecoverage-tools/typings/globals/cheerio/typings.json

Lines changed: 0 additions & 8 deletions
This file was deleted.

Tasks/Common/codecoverage-tools/typings/index.d.ts

Lines changed: 0 additions & 6 deletions
This file was deleted.

Tests/L0/Common-CodeCoverageEnabler/_suite.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -275,9 +275,9 @@ describe('Code Coverage enable tool tests', function () {
275275
let ccEnabler = new CodeCoverageEnablerFactory().getTool("ant", "jacoco");
276276
ccEnabler.enableCodeCoverage(buildProps).then(function (resp) {
277277
let content = fs.readFileSync(buildFile, "utf-8");
278-
assert.notEqual(content.indexOf(`excludes="**/com/xyz.class"`), -1, "Exclude filter must be present");
279-
assert.notEqual(content.indexOf(`includes="**/com/abc.class"`), -1, "Include filter must be present");
280-
assert.notEqual(content.indexOf(`jacoco:coverage destfile="jacoco.exec"`), -1, "Jacoco Plugin must be present");
278+
assert.notEqual(content.indexOf(`excludes="com.xyz"`), -1, "Exclude filter must be present");
279+
assert.notEqual(content.indexOf(`includes="com.abc"`), -1, "Include filter must be present");
280+
assert.notEqual(content.indexOf(`jacoco:coverage destfile`), -1, "Jacoco Plugin must be present");
281281
done();
282282
}).catch(function (err) {
283283
done(err);
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ interface CheerioElement {
257257

258258
interface CheerioAPI extends CheerioSelector {
259259
load(html: string, options?: CheerioOptionsInterface): CheerioStatic;
260+
load(element: CheerioElement, options?: CheerioOptionsInterface): CheerioStatic;
260261
}
261262

262263
declare var cheerio:CheerioAPI;

0 commit comments

Comments
 (0)