Skip to content
This repository was archived by the owner on Feb 12, 2022. It is now read-only.

Commit 65cfb17

Browse files
committed
(WIP) travis bashing - try some console logs to see what is loading
1 parent 780e81d commit 65cfb17

File tree

1 file changed

+9
-21
lines changed

1 file changed

+9
-21
lines changed

test/commonjs-test.js

Lines changed: 9 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,15 @@ var moment = require( 'moment' );
77
var fuelux = require( '../dist/js/npm' );
88
require( '../bower_components/qunit/qunit/qunit' );
99

10-
// In order to be be UMD compliant, modules must work with
11-
// CommonJS. The following tests check to see if the plugin
12-
// is on the jQuery namespace and nothing else.
10+
console.log('$: ', $);
11+
console.log('boostrap: ', bootsrap, ' bootrap carousel: ', $.fn.carousel);
12+
console.log('moment: ', moment);
13+
console.log('fuelux: ', fuelux, ' fuelux repeater: ', $.fn.repeater);
14+
console.log('QUnit: ', QUnit);
1315

14-
QUnit.start(); // starting qunit, or phantom js will have a problem
16+
QUnit.test( 'testing', function ( assert ) {
17+
assert.ok( true, 'testing is true' );
1518

16-
QUnit.test( 'fuelux controls should be defined on jQuery object', function ( assert ) {
17-
assert.ok( $().combobox, 'combobox method is defined' );
18-
assert.ok( $().datepicker, 'datepicker method is defined' );
19-
assert.ok( $().dropdownautoflip, 'dropdownautoflip method is defined' );
20-
assert.ok( $().infinitescroll, 'infinitescroll method is defined' );
21-
assert.ok( $().loader, 'loader method is defined' );
22-
assert.ok( $().pillbox, 'pillbox method is defined' );
23-
assert.ok( $().radio, 'radio method is defined' );
24-
assert.ok( $().repeater, 'repeater method is defined' );
25-
assert.ok( $.fn.repeater.viewTypes.list, 'repeater list view is defined' );
26-
assert.ok( $.fn.repeater.viewTypes.thumbnail, 'repeater thumbnail view is defined' );
27-
assert.ok( $().scheduler, 'scheduler method is defined' );
28-
assert.ok( $().search, 'search method is defined' );
29-
assert.ok( $().selectlist, 'selectlist method is defined' );
30-
assert.ok( $().spinbox, 'spinbox method is defined' );
31-
assert.ok( $().tree, 'tree method is defined' );
32-
assert.ok( $().wizard, 'wizard method is defined' );
19+
// I"M DONE!
20+
assert.async()();
3321
} );

0 commit comments

Comments
 (0)