Skip to content

Commit

Permalink
Remove version
Browse files Browse the repository at this point in the history
There's no need for version as we want users to directly work with the
k6 release, and so we would prefer it if they referenced which version
of k6 they are running instead of which version of k6-module they are
working with.
  • Loading branch information
ankur22 committed Apr 4, 2023
1 parent 034db5b commit 710e616
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions browser/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ import (
k6modules "go.k6.io/k6/js/modules"
)

const version = "0.8.1"

type (
// RootModule is the global module instance that will create module
// instances for each VU.
Expand Down Expand Up @@ -53,7 +51,6 @@ func (m *RootModule) NewModuleInstance(vu k6modules.VU) k6modules.Instance {
pidRegistry: m.PidRegistry,
}),
Devices: common.GetDevices(),
Version: version,
},
}
}
Expand Down
1 change: 0 additions & 1 deletion browser/module_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,4 @@ func TestModuleNew(t *testing.T) {
require.NotNil(t, m.mod, "Module should be set")
require.NotNil(t, m.mod.Chromium, "Chromium should be set")
require.NotNil(t, m.mod.Devices, "Devices should be set")
require.Equal(t, version, m.mod.Version, "Incorrect version")
}

0 comments on commit 710e616

Please sign in to comment.