reveal-leap-motion
Version:
A plugin which allows you to use your Leap Motion device to control basic navigation of your Reveal.js presentation
15 lines (11 loc) • 397 B
JavaScript
import { expect } from 'chai';
import config from '../src/config';
/* eslint-disable func-names, prefer-arrow-callback */
describe('config', function () {
it('allows the user to pass in overrides', function () {
expect(config.pointerColor).to.equal('#55cc00');
});
it('preserves non-overridden default values', function () {
expect(config.pointerOpacity).to.equal(0.7);
});
});