@@ -66,10 +66,10 @@ Usage example:
6666
6767``` javascript 
6868const  {resolve } =  require (' path' 
69- const  {render ,  fireEvent } =  require (' cli-testing-library' 
69+ const  {render } =  require (' cli-testing-library' 
7070
7171test (' Is able to make terminal input and view in-progress stdout' async  () =>  {
72-   const  {cleanup , findByText } =  await  render (' node' 
72+   const  {cleanup , findByText ,  userEvent } =  await  render (' node' 
7373    resolve (__dirname , ' ./execute-scripts/stdio-inquirer.js' 
7474  ])
7575
@@ -81,17 +81,23 @@ test('Is able to make terminal input and view in-progress stdout', async () => {
8181
8282  cleanup ()
8383
84-   fireEvent . down (instance )
84+      userEvent ( " [ArrowDown] " 
8585
8686  expect (await  findByText (' ❯ Two' toBeTruthy ()
8787
8888  cleanup ()
8989
90-   fireEvent . enter (instance )
90+   userEvent . keyboard ( " [Enter] " 
9191
9292  expect (await  findByText (' First option: Two' toBeTruthy ()
9393})
9494``` 
95+ 
96+ >  While this library _ does_  work in Windows, it does not appear to function properly in Windows CI environments, such
97+ >  as GitHub actions. As a result, you may need to either switch CI systems or limit your CI to only run in Linux
98+ >  
99+ >  If you know how to fix this, please let us know in [ this tracking issue] ( https://github.com/crutchcorn/cli-testing-library/issues/3 ) 
100+ 
95101## Contributors ✨  
96102
97103Thanks goes to these wonderful people ([ emoji key] ( https://allcontributors.org/docs/en/emoji-key ) ):
@@ -110,4 +116,4 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
110116
111117<!--  ALL-CONTRIBUTORS-LIST:END --> 
112118
113- This project follows the [ all-contributors] ( https://github.com/all-contributors/all-contributors )  specification. Contributions of any kind welcome!
119+ This project follows the [ all-contributors] ( https://github.com/all-contributors/all-contributors )  specification. Contributions of any kind welcome!
0 commit comments