nvim-neotest / neotest-jest

MIT License
116 stars 79 forks source link

Support extra_args #106

Open MisanthropicBit opened 6 months ago

MisanthropicBit commented 6 months ago

This PR adds support for neotest.RunArgs.extra_args passed to build_spec for adding additional arguments to the test process via neotest.run.run.

An example use case is running tests and updating snapshots:

require("neotest").run.run({ extra_args = { "--updateSnapshots" } })

Other changes