generact
generact copied to clipboard
Bug: Windows generact
This shouldn't be happening. It works perfect in a unix environment but not my windows 10
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?
Parallels? Windows 10 vm's are free https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/
still not working on Windows 10 even not the extension of vs code.
Hi, guys. I'd appreciate very much if some Windows user could take this.
The problem seems to be with this function: https://github.com/diegohaz/generact/blob/638f95242d4572887802bbe0551974870e69c02f/src/utils.js#L12-L21
I am willing to contribute please guide me how to setup the basic environment and how to test it.
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.
@diegohaz please check my forked branch with the comments I added.