Patch Changes
-
50debf1:
npx @qawolf/cliandnpm install @qawolf/clino longer stop responding.The CLI pinned
expect-webdriverio5.6.5 as a dependency.@wdio/globals9.31.0 then started to requireexpect-webdriverio6.0.5 or later. npm cannot obey both rules, and it does not report an error. It searches instead, and the install can run for more than 30 minutes.expect-webdriveriois now a development dependency. The CLI does not import it, so nothing changes when you run a flow. -
f3c38a8: The CLI no longer finds flow files in
node_modules.The default pattern is
**/*.flow.{ts,js}. Some packages use.flow.jsfor a different purpose, because it is also the file name convention of the Facebook Flow type checker. The CLI read these files and showed them as flows.qawolf flows listshowed a flow for each one. The name came from the file name, because the file has noflow()call.The CLI now ignores
node_moduleswhen it looks for flow files. The search is also much faster, because a dependency tree contains most of the files in a project.This does not change how a flow finds a package. A flow that imports a package continues to work.