Skip to content

Commit

Permalink
Add linter fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ankur22 committed Mar 13, 2024
1 parent 8138928 commit 19780e2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions common/element_handle.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@ import (
"github.com/grafana/xk6-browser/k6ext"
)

const resultDone = "done"
const resultNeedsInput = "needsinput"
const (
resultDone = "done"
resultNeedsInput = "needsinput"
)

type (
elementHandleActionFunc func(context.Context, *ElementHandle) (any, error)
Expand Down
1 change: 1 addition & 0 deletions tests/page_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1633,6 +1633,7 @@ func TestPageIsHidden(t *testing.T) {
}
}

//nolint:tparallel
func TestShadowDOMAndDocumentFragment(t *testing.T) {
t.Parallel()

Expand Down

0 comments on commit 19780e2

Please sign in to comment.