/**
 * Created by Aaron on 7/5/2015.
 */

import {runTests} from './runner.js';

import assert from 'assert';

import Promise from 'bluebird';

let tests = ( Scriptor, build ) => {
    describe( `exports (${build} build)`, () => {
        it( 'should have exported a Script class', () => {
            assert.strictEqual( typeof Scriptor.Script, 'function', 'No Script class exported' );
        } );

        it( 'should have exported a Manager class', () => {
            assert.strictEqual( typeof Scriptor.Manager, 'function', 'No Manager class exported' );
        } );

        it( 'should have exported a Reference class', () => {
            assert.strictEqual( typeof Scriptor.Reference, 'function', 'No Reference class exported' );
        } );

        it( 'should have exported a bluebird Promise class', () => {
            assert.strictEqual( typeof Scriptor.Promise, 'function', 'No Promise class exported' );
            assert.strictEqual( Scriptor.Promise, Promise, 'Exported Promise is not bluebird' );
        } );
    } );
};

runTests( 'compat', tests );
runTests( 'modern', tests );

@@ -387,32 +387,755 @@
 ;%0A        %7D );%0A%0A
+        it( 'should have exported a SourceScript class', () =%3E %7B%0A            assert.strictEqual( typeof Scriptor.SourceScript, 'function', 'No SourceScript class exported' );%0A        %7D );%0A%0A        it( 'should have exported a TextScript class', () =%3E %7B%0A            assert.strictEqual( typeof Scriptor.TextScript, 'function', 'No TextScript class exported' );%0A        %7D );%0A%0A        it( 'should have exported a compile function', () =%3E %7B%0A            assert.strictEqual( typeof Scriptor.compile, 'function', 'No compile function exported' );%0A        %7D );%0A%0A        it( 'should have exported a load function', () =%3E %7B%0A            assert.strictEqual( typeof Scriptor.load, 'function', 'No load function exported' );%0A        %7D );%0A%0A
         it( 'sho
@@ -1750,16 +1750,220 @@
     %7D );
+%0A%0A        it( 'should have exported a addYieldHandler function', () =%3E %7B%0A            assert.strictEqual( typeof Scriptor.addYieldHandler, 'function', 'No addYieldHandler function exported' );%0A        %7D );
 %0A    %7D )

Add tests for the latest additional exports.