spec/create.spec.js
function checkDefaultTemplate () {
        const pkg = requireFresh(path.join(project, 'package.json'));
        expect(pkg.author).toEqual('Apache Cordova Team');

        const configXml = new ConfigParser(path.join(project, 'config.xml'));
        expect(configXml.author()).toEqual('Apache Cordova Team');
    }
function checkDefaultTemplate () {
        const pkg = requireFresh(path.join(project, 'package.json'));
        expect(pkg.author).toEqual('Apache Cordova Team');

        const configXml = new ConfigParser(path.join(project, 'config.xml'));
        expect(configXml.author()).toEqual('Apache Cordova Team');
    }
function checkDefaultTemplate ( ) { const pkg = requireFresh ( path . join ( project , 'package.json' ) ) ; expect ( pkg . author ) . toEqual ( 'Apache Cordova Team' ) ; const configXml = new ConfigParser ( path . join ( project , 'config.xml' ) ) ; expect ( configXml . author ( ) ) . toEqual ( 'Apache Cordova Team' ) ; }
Check that we did use the default template
Check that we did use the default template