Skip to content

Commit

Permalink
Tag core data testing todo with #89
Browse files Browse the repository at this point in the history
  • Loading branch information
isiahmanns committed May 24, 2023
1 parent 7b3be2a commit 057e552
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Hourglass/Hourglass/Views/StatisticsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ struct StatisticsView: View {

var body: some View {
let timeChunks: [TimeBlock.Chunk] = timeBlocks.flatMap(\.chunks)
// TODO: - Write snapshot tests using test data sets
// TODO: - Write snapshot tests using test data sets (#89)
//let timeChunks = [TimeBlock.Chunk]()
//let timeChunks = TestData.timeChunks
//let timeChunks = Array(TestData.timeChunks.prefix(25))
Expand Down Expand Up @@ -307,7 +307,6 @@ private extension TimeBlock {
Calendar.current.dateComponents([.year, .month, .day, .hour, .minute, .second], from: end!)
}

// TODO: - Test this with Core Data
var doesIncludeNextDay: Bool {
startDate.day! < endDate.day!
}
Expand Down

0 comments on commit 057e552

Please sign in to comment.