File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @qavajs/playwright-runner-adapter" ,
3
- "version" : " 1.4.2 " ,
3
+ "version" : " 1.4.3 " ,
4
4
"description" : " adapter for playwright test runner" ,
5
5
"scripts" : {
6
6
"build" : " tsc" ,
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ const parser = new Parser(builder, matcher)
13
13
14
14
function duplicates ( tests : any [ ] ) {
15
15
const counts : Record < string , number > = { } ;
16
- const t = tests . map ( item => {
16
+ return tests . map ( item => {
17
17
const name = item . name ;
18
18
if ( ! ( name in counts ) ) {
19
19
counts [ name ] = 1 ;
@@ -23,9 +23,7 @@ function duplicates(tests: any[]) {
23
23
}
24
24
counts [ name ] = counts [ name ] + 1 ;
25
25
return item ;
26
- } )
27
- console . log ( t )
28
- return t
26
+ } ) ;
29
27
}
30
28
31
29
export function loadFeatures ( globPattern : string [ ] ) {
You can’t perform that action at this time.
0 commit comments