catarse/catarse.js

View on GitHub
legacy/spec/components/team-total.spec.js

Summary

Maintainability
A
0 mins
Test Coverage
import mq from 'mithril-query';
import teamTotal from '../../src/c/team-total';

describe('TeamTotal', () => {
    let $output;

    describe('view', () => {
        beforeAll(() => {
            $output = mq(teamTotal);
        });

        it('should render fetched team total info', () => {
            expect($output.find('#team-total-static').length).toEqual(1);
        });
    });
});