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

Flow warnings #3

Closed
janpe opened this issue Jun 1, 2017 · 6 comments
Closed

Flow warnings #3

janpe opened this issue Jun 1, 2017 · 6 comments

Comments

@janpe
Copy link

janpe commented Jun 1, 2017

I'm seeing Flow warnings in finnish-business-ids_test.js. Any chance of getting these fixed?

@vkomulai
Copy link
Owner

vkomulai commented Jun 1, 2017

Sure thing. I will fix these during today. Thanks for info 👍

@janpe
Copy link
Author

janpe commented Jun 8, 2017

Just a friendly reminder that this is still open. 🙂

@vkomulai
Copy link
Owner

vkomulai commented Jun 8, 2017

Fixed: 20e38f6

2.0.1 available

@vkomulai vkomulai closed this as completed Jun 8, 2017
@janpe
Copy link
Author

janpe commented Jun 13, 2017

Hi again. Seems like the warnings I mentioned (in the finnish-business-ids_test.js) are still there. I get warnings on describe and it. (Could not resolve name) for both.

@vkomulai
Copy link
Owner

hmm. Could it be something that araises from global eslint? Do you have eslint installed globally?

.eslintrcconfiguration should take care of this - espcieally the mocha part here...

"env": {
    "browser": true,
    "node": true,
    "mocha": true
  }

@janpe
Copy link
Author

janpe commented Oct 5, 2017

Here is what flow is giving me:

Error: node_modules/finnish-business-ids/test/finnish-business-ids_test.js:6
  6: describe('finnish-business-ids', () => {
     ^^^^^^^^ identifier `describe`. Could not resolve name

Error: node_modules/finnish-business-ids/test/finnish-business-ids_test.js:9
  9:     it('Should fail when given empty String', () => {
         ^^ identifier `it`. Could not resolve name

Error: node_modules/finnish-business-ids/test/finnish-business-ids_test.js:39
 39:     it('Should fail when given empty String', () => {
         ^^ identifier `it`. Could not resolve name

Error: node_modules/finnish-business-ids/test/finnish-business-ids_test.js:69
 69:     it('Should create valid random business ID with a sample of 10000', () => {
         ^^ identifier `it`. Could not resolve name

Error: node_modules/finnish-business-ids/test/finnish-business-ids_test.js:78
 78:     it('Should create valid random vat number with a sample of 10000', () => {
         ^^ identifier `it`. Could not resolve name

Error: node_modules/finnish-business-ids/test/finnish-business-ids_test.js:87
 87:     it('Should return valid checksum for business ID', () => {
         ^^ identifier `it`. Could not resolve name

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

2 participants