afch-zhwp/__tests__/test-core.js
theopolisme 6a66debe5e *ZOMG* unit tests, finally!
Not really any actual tests in here (except for a typeof AFCH ===
‘object’ assertion…gotta start somewhere!), but this is the framework.
2014-05-18 17:10:51 -05:00

21 lines
352 B
JavaScript

/**
* Tests for src/modules/core.js
*/
require( './scaffold.js' );
resetToAFCApplicablePage();
requireScript( 'modules/core.js' );
// It's always good to start simple :)
describe( 'AFCH', function () {
it( 'is an object', function () {
expect( typeof AFCH ).toBe( 'object' );
} );
} );
describe( 'AFCH.Page', function () {
// FIXME...
} );