• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

DaniSomoza / galactic-commander / 7333480402

26 Dec 2023 11:52PM UTC coverage: 97.561% (-1.6%) from 99.115%
7333480402

push

github

web-flow
Game engine (#5)

* add create player task flow

* First approach of the game engine

* added process new player task

* Add process new player task test

* added game engine tests

* Add player api tests

35 of 36 branches covered (0.0%)

Branch coverage included in aggregate %.

290 of 301 new or added lines in 38 files covered. (96.35%)

485 of 497 relevant lines covered (97.59%)

2.61 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

25.0
/packages/game-engine/src/engine/tasks/processResearchTask.ts
1
import { ITaskTypeDocument, ResearchTaskType } from '../../models/TaskModel'
2

3
// TODO: This tasks can be processed in parallel
4
function processResearchTask(task: ITaskTypeDocument<ResearchTaskType>, second: number) {
NEW
5
  console.log('task: ', task)
×
NEW
6
  console.log('second: ', second)
×
7

8
  // TODO: implement this
9

NEW
10
  return Promise.all([task.save()])
×
11
}
12

13
export default processResearchTask
2✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc