mirror of
https://github.com/HSLdevcom/digitransit-ui
synced 2025-07-06 01:00:37 +02:00
12 lines
362 B
JavaScript
12 lines
362 B
JavaScript
import { expect } from 'chai';
|
|
import { describe, it } from 'mocha';
|
|
|
|
import ViaPointStore from '../../../app/store/ViaPointStore';
|
|
|
|
describe('ViaPointsStore', () => {
|
|
it('Should store via points', () => {
|
|
const store = new ViaPointStore();
|
|
store.addViaPoint({ via: 'point' });
|
|
expect(store.getViaPoints()[0].via).to.deep.equal('point');
|
|
});
|
|
});
|