Files
ember-cli-dunlop/tests/unit/utils/range-parser-test.coffee
T
2017-12-21 11:42:41 +01:00

10 lines
329 B
CoffeeScript

import RangeParser from 'ember-cli-dunlop/utils/range-parser'
import { module, test } from 'qunit'
module 'Unit | Utility | range parser'
# Replace this with your real tests.
test 'it works sunny', (assert) ->
result = RangeParser.parse(' 3, 5 - 9 , 17-19, 29')
assert.deepEqual result, [3, 5, 6, 7, 8, 9, 17, 18, 19, 29]