UNPKG

aframe-charts-component

Version:

Make 3D Charts with this component based on A-Frame.

26 lines (22 loc) 620 B
/* global assert, setup, suite, test */ require('aframe'); require('../src'); var entityFactory = require('./helpers').entityFactory; suite('charts component', function () { var component; var el; setup(function (done) { el = entityFactory(); el.addEventListener('componentinitialized', function (evt) { if (evt.detail.name !== 'charts') { return; } component = el.components['charts']; done(); }); el.setAttribute('charts', {}); }); suite('foo property', function () { test('is good', function () { assert.equal(1, 1); }); }); });