olistic / warriorjs

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

Add units array default value #179

Closed olistic closed 6 years ago

olistic commented 6 years ago

This allows to omit the units array when defining a level without units.

codecov-io commented 6 years ago

Codecov Report

Merging #179 into master will decrease coverage by 0.08%. The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #179      +/-   ##
==========================================
- Coverage   92.35%   92.26%   -0.09%     
==========================================
  Files          85       85              
  Lines        1072     1073       +1     
  Branches      179      180       +1     
==========================================
  Hits          990      990              
- Misses         67       68       +1     
  Partials       15       15
Impacted Files Coverage Δ
packages/warriorjs-core/src/loadLevel.js 89.28% <0%> (-3.31%) :arrow_down:

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 1b9d1df...9ccdc80. Read the comment docs.