<commit_before>describe "Skr.Screens.TimeTracking", ->

    beforeEach (done) ->
        @screen = LT.renderComponent(Skr.Screens.TimeTracking)
        _.defer =>
            @screen.entries.entries.once 'sync', (te) -> done()
            Lanes.Models.Sync.restorePerform =>
                _.dom(@screen).qs('button[value=month]').click()


    it "renders monthly totals", ->
        _.dom(@screen).qs('button[value=month]').click()
        totals = _.pluck _.dom(@screen).qsa('.day.summary > div'), 'textContent'
        expect(totals).toEqual(["28.75", "14.50", "1.50", "2.00"])<commit_msg>update expected month totals<commit_after>describe "Skr.Screens.TimeTracking", ->

    beforeEach (done) ->
        @screen = LT.renderComponent(Skr.Screens.TimeTracking)
        _.defer =>
            @screen.entries.entries.once 'sync', (te) -> done()
            Lanes.Models.Sync.restorePerform =>
                _.dom(@screen).qs('button[value=month]').click()


    it "renders monthly totals", ->
        _.dom(@screen).qs('button[value=month]').click()
        totals = _.map _.dom(@screen).qsa('.day.summary'), 'textContent'
        expect(totals).toEqual(['', '', '30.25', '', ''])
{'fraction_non_alphanumeric': 0.19477234401349072, 'fraction_numerical': 0.01517706576728499, 'mean_word_length': 2.7563291139240507, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 16, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4328872', 'n_tokens_mistral': 392, 'n_tokens_neox': 369, 'n_words': 53}