Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a test setup (mocha/jasmine) as part of generator #2

Open
sookinoby opened this issue Jan 16, 2018 · 11 comments
Open

Provide a test setup (mocha/jasmine) as part of generator #2

sookinoby opened this issue Jan 16, 2018 · 11 comments

Comments

@sookinoby
Copy link

Can you provide a sample test case along with generator?

@HaNdTriX
Copy link
Contributor

HaNdTriX commented Jan 28, 2018

Feel free to create a PR for this.

Nevertheless, I'd prefer something like jest instead of mocha/jasmine.

Here are some links that might help:

@sookinoby
Copy link
Author

Super. Thank you so much. I will using this and send a PR after I make it work

@ermik
Copy link

ermik commented Feb 6, 2018

+1 on Jest

@sookinoby
Copy link
Author

I am bit busy and I will try to over on this sometime this month :)

@sookinoby
Copy link
Author

@HaNdTriX I am trying to use Jest to test the chrome extension. Problem is the the code I have written is in .jsx and statement like "import" is not supported.
Should I use babel or something to trans- compile things for testing too?

@HaNdTriX
Copy link
Contributor

HaNdTriX commented Mar 15, 2018

Sorry for my late reply. I am currently pretty busy. Please check out

@andreicristianpetcu
Copy link

andreicristianpetcu commented Apr 9, 2018

I made a simple karma + jasmine setup if anybody is interested.

Can we use sinon-chrome with Jest or is there anything similar?

@HaNdTriX
Copy link
Contributor

I did a little research and have to admit, that there is no good alternative to sinon-chrome. 😬

@HaNdTriX
Copy link
Contributor

HaNdTriX commented May 18, 2018

I believe we should check out puppet for testing:

https://youtu.be/lhZOFUY1weo?t=1588

@andreicristianpetcu
Copy link

@HaNdTriX your link just installs Chrome on a system where Puppet is already installed. Not sure how popular Puppet is these days but most Front-enders do not have it I think.

@HaNdTriX
Copy link
Contributor

@andreicristianpetcu sorry my fault. Fixed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants