rm unused after migrate to api

This commit is contained in:
tmshv committed 2020-02-15 04:35:19 +03:00
1 parent f3febbe3a9
commit 4de352e2df
25 files changed
-1149

No files matched your search

-17
View File
@@ -1,17 +0,0 @@
import {getPeriod} from '../../src/models/schedule';
describe('models', () => {
describe('schedule.js', () => {
describe('getPeriod', () => {
it('should accept a string and return an array', () => {
getPeriod('2016-2017').should.be.Array;
});
it('should accept a string "XXXX-YYYY" and return an array [XXXX, YYYY]', () => {
const sample = '2016-2017';
const result = getPeriod(sample);
result.should.be.eql([2016, 2017]);
});
});
});
});