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

source-academy / backend / e0330f2cf38b2d8af12bffd20f4cac2158d607fc-PR-1236

31 Mar 2025 09:12AM UTC coverage: 19.982% (-73.6%) from 93.607%
e0330f2cf38b2d8af12bffd20f4cac2158d607fc-PR-1236

Pull #1236

github

RichDom2185
Redate migrations to maintain total ordering
Pull Request #1236: Added Exam mode

12 of 57 new or added lines in 8 files covered. (21.05%)

2430 existing lines in 97 files now uncovered.

671 of 3358 relevant lines covered (19.98%)

3.03 hits per line

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

0.0
/lib/cadet_web/admin_views/admin_courses_view.ex
1
defmodule CadetWeb.AdminCoursesView do
2
  use CadetWeb, :view
3

4
  def render("assessment_configs.json", %{configs: configs}) do
UNCOV
5
    render_many(configs, CadetWeb.AdminCoursesView, "config.json", as: :config)
×
6
  end
7

8
  def render("config.json", %{config: config}) do
UNCOV
9
    transform_map_for_view(config, %{
×
10
      assessmentConfigId: :id,
11
      type: :type,
12
      displayInDashboard: :show_grading_summary,
13
      isMinigame: :is_minigame,
14
      isManuallyGraded: :is_manually_graded,
15
      earlySubmissionXp: :early_submission_xp,
16
      hasVotingFeatures: :has_voting_features,
17
      hasTokenCounter: :has_token_counter,
18
      hoursBeforeEarlyXpDecay: :hours_before_early_xp_decay,
19
      isGradingAutoPublished: :is_grading_auto_published
20
    })
21
  end
22
end
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

© 2025 Coveralls, Inc