topcoder-react-lib
Version:
The implementation of TC lib for ReactJS projects
13 lines (10 loc) • 352 B
JavaScript
import { actions } from '../../src';
test('smp.deleteSubmissionDone', () => {
expect(actions.smp.deleteSubmissionDone('Token V3', 'submissionId'))
.toMatchSnapshot();
});
describe('smp.downloadSubmission', () => {
test('does not throw', () => {
expect(() => actions.smp.downloadSubmission({}, 'design', '12345')).not.toThrow();
});
});