Skip to content

Commit c28a840

Browse files
removed debug logs (#31)
1 parent 05436cd commit c28a840

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@qavajs/playwright-runner-adapter",
3-
"version": "1.4.2",
3+
"version": "1.4.3",
44
"description": "adapter for playwright test runner",
55
"scripts": {
66
"build": "tsc",

src/loader.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const parser = new Parser(builder, matcher)
1313

1414
function duplicates(tests: any[]) {
1515
const counts: Record<string, number> = {};
16-
const t = tests.map(item => {
16+
return tests.map(item => {
1717
const name = item.name;
1818
if (!(name in counts)) {
1919
counts[name] = 1;
@@ -23,9 +23,7 @@ function duplicates(tests: any[]) {
2323
}
2424
counts[name] = counts[name] + 1;
2525
return item;
26-
})
27-
console.log(t)
28-
return t
26+
});
2927
}
3028

3129
export function loadFeatures(globPattern: string[]) {

0 commit comments

Comments
 (0)