futil-js / contexture-core

Contexture DSL Processor
MIT License
21 stars 1 forks source link

Add code coverage to danger and some cleanup #79

Closed stellarhoof closed 2 years ago

stellarhoof commented 2 years ago

We were already using jest in this repo. I just cleaned up some stuff and added coverage report to danger.

decrapifier commented 2 years ago
Warnings
:warning: :exclamation: This PR is BIG (+9682 -10653) Please keep it below 500 net changes
Messages
:book: You reduced the total lines of code! Awesome! :+1:

Coverage Report

:+1: Test coverage is looking good.

Files % Stmts % Branch % Funcs % Lines Uncovered Lines
src/dataStrategies.js 86.36 0 66.67 86.36 27, 32, 50 :white_check_mark:
src/exampleTypes.js 100 72.73 100 100 :white_check_mark:
src/index.js 92.86 86.67 83.33 92.86 43, 53 :white_check_mark:
and 6 more... |Files|% Stmts|% Branch|% Funcs|% Lines|Uncovered Lines|| |---|:-:|:-:|:-:|:-:|:-:|:-:| |[src/utils.js](../blob/11259fd513f60df6fe5f92cf1af5d59115b02597/src/utils.js)|97.44|96.67|100|97.44|[63](../blob/11259fd513f60df6fe5f92cf1af5d59115b02597/src/utils.js#L63)|:white_check_mark:| |[src/provider-debug/index.js](../blob/11259fd513f60df6fe5f92cf1af5d59115b02597/src/provider-debug/index.js)|100|100|100|100||:white_check_mark:| |[src/provider-memory/date.js](../blob/11259fd513f60df6fe5f92cf1af5d59115b02597/src/provider-memory/date.js)|78.95|79.17|55.56|78.95|[10](../blob/11259fd513f60df6fe5f92cf1af5d59115b02597/src/provider-memory/date.js#L10), [13](../blob/11259fd513f60df6fe5f92cf1af5d59115b02597/src/provider-memory/date.js#L13), [20](../blob/11259fd513f60df6fe5f92cf1af5d59115b02597/src/provider-memory/date.js#L20), [73](../blob/11259fd513f60df6fe5f92cf1af5d59115b02597/src/provider-memory/date.js#L73), [74](../blob/11259fd513f60df6fe5f92cf1af5d59115b02597/src/provider-memory/date.js#L74), [75](../blob/11259fd513f60df6fe5f92cf1af5d59115b02597/src/provider-memory/date.js#L75), [85](../blob/11259fd513f60df6fe5f92cf1af5d59115b02597/src/provider-memory/date.js#L85), [86](../blob/11259fd513f60df6fe5f92cf1af5d59115b02597/src/provider-memory/date.js#L86)|:white_check_mark:| |[src/provider-memory/
exampleTypes.js](../blob/11259fd513f60df6fe5f92cf1af5d59115b02597/src/provider-memory/exampleTypes.js)|88.89|65|84.21|88.89|[14](../blob/11259fd513f60df6fe5f92cf1af5d59115b02597/src/provider-memory/exampleTypes.js#L14), [16](../blob/11259fd513f60df6fe5f92cf1af5d59115b02597/src/provider-memory/exampleTypes.js#L16), [95](../blob/11259fd513f60df6fe5f92cf1af5d59115b02597/src/provider-memory/exampleTypes.js#L95)|:white_check_mark:| |[src/provider-memory/
index.js](../blob/11259fd513f60df6fe5f92cf1af5d59115b02597/src/provider-memory/index.js)|100|50|100|100||:white_check_mark:| |[src/provider-memory/
results.js](../blob/11259fd513f60df6fe5f92cf1af5d59115b02597/src/provider-memory/results.js)|100|80|100|100||:white_check_mark:|

Generated by :no_entry_sign: dangerJS against 11259fd513f60df6fe5f92cf1af5d59115b02597