Bug: Windows generact
Geczy opened this issue · 7 comments
Geczy commented
diegohaz commented
This seems to be a problem with this function: https://github.com/diegohaz/generact/blob/master/src/utils.js#L11-L20
I don't have a Windows machine to test it. Could you try to change it?
Geczy commented
Parallels? Windows 10 vm's are free https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/
Shhzdmrz commented
still not working on Windows 10 even not the extension of vs code.
diegohaz commented
Hi, guys. I'd appreciate very much if some Windows user could take this.
The problem seems to be with this function:
Lines 12 to 21 in 638f952
Shhzdmrz commented
I am willing to contribute please guide me how to setup the basic environment and how to test it.
diegohaz commented
Sure, @Shhzdmrz.
- Fork the repo and clone it in your local machine (
git clone https://github.com/Shhzdmrz/generact
); - Change to the directory:
cd generact
; - Install dependencies with
yarn
ornpm install
; - Run tests with
yarn test
ornpm test
(if you're on Windows, some should fail); - Keep tests running with
yarn test --watch
ornpm test -- --watch
; - Update the code in
src
trying to make tests to pass.
Just make sure to run yarn lint
before creating the PR.