Skip to content
This repository has been archived by the owner on May 17, 2019. It is now read-only.

Add Flow type definitions for node-mocks-http to improve Flow coverage #103

Open
AlexMSmithCA opened this issue Apr 3, 2018 · 0 comments
Labels

Comments

@AlexMSmithCA
Copy link
Member

Type of issue

Missing Flow type definitions

Description

src/mock-context.js has low Flow type coverage due to missing type definitions for node-mocks-http.

Current behavior

Low Flow coverage

Expected behavior

100% Flow coverage

Steps to reproduce

  1. npm install -g flow-coverage-report
  2. flow-coverage-report -i 'src/**/*.js' -i 'src/**/*.jsx' -x 'src/test/**' -t html -t json -t text --threshold 90

Your environment

  • fusion-test-utils version: v1.0.2

  • Node.js version (node --version): v8.10.0

  • npm version (npm --version): v5.8.0

  • Operating System: macOS High SIerra v10.13.3

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

No branches or pull requests

1 participant