olistic / warriorjs

🏰 An exciting game of programming and Artificial Intelligence
https://warriorjs.com
MIT License
9.43k stars 490 forks source link

Refactor PlayerLoader and LevelLoader #143

Closed olistic closed 6 years ago

codecov-io commented 6 years ago

Codecov Report

Merging #143 into master will increase coverage by 0.31%. The diff coverage is 85.71%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #143      +/-   ##
==========================================
+ Coverage   90.84%   91.15%   +0.31%     
==========================================
  Files          84       83       -1     
  Lines        1059     1052       -7     
  Branches      168      171       +3     
==========================================
- Hits          962      959       -3     
+ Misses         80       77       -3     
+ Partials       17       16       -1
Impacted Files Coverage Ξ”
packages/warriorjs-core/src/Warrior.js 100% <ΓΈ> (ΓΈ) :arrow_up:
packages/warriorjs-cli/src/ProfileGenerator.js 100% <ΓΈ> (ΓΈ)
packages/warriorjs-core/src/Unit.js 100% <ΓΈ> (ΓΈ) :arrow_up:
packages/warriorjs-core/src/Floor.js 100% <100%> (ΓΈ) :arrow_up:
packages/warriorjs-core/src/getLevel.js 100% <100%> (ΓΈ) :arrow_up:
packages/warriorjs-core/src/runLevel.js 100% <100%> (ΓΈ) :arrow_up:
packages/warriorjs-cli/src/Game.js 53.5% <33.33%> (+1.32%) :arrow_up:
packages/warriorjs-core/src/loadLevel.js 92.59% <92.59%> (ΓΈ)
packages/warriorjs-core/src/loadPlayer.js 95.23% <95.23%> (ΓΈ)
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more Ξ” = absolute <relative> (impact), ΓΈ = not affected, ? = missing data Powered by Codecov. Last update d496d7b...6783a34. Read the comment docs.