How to use the yeoman-generator.test.assertFile function in yeoman-generator

To help you get started, we’ve selected a few yeoman-generator examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github walmartlabs / generator-thorax / test / thorax-generator.spec.js View on Github external
it('public/index.html should provide first config during development', function () {
    helpers.assertFile('public/index.html', /baseUrl: '..\/js'/);
    helpers.assertFile('public/index.html', /data-main="..\/require-config"/);
  });
  it('test/index.html should provide first config during development', function () {
github colindresj / generator-ractive / test / test-ractive-creation.js View on Github external
ractive.run([], function () {
        helpers.assertFile(expected);

        done();
      });
    });
github cmalven / generator-met / test / test-creation.js View on Github external
this.view.run({}, function () {
        helpers.assertFile([
          'client/views/testview.html',
          'client/views/testview.coffee'
        ]);
        done();
      });
    });
github ViewsForAndroid / generator-andy / test / test-creation.js View on Github external
this.app.run({}, function () {
      helpers.assertFile(expected);
      done();
    });
  });
github Snugug / generator-aurora / test / test-creation.js View on Github external
this.app.run({}, function () {
      helpers.assertFile(expected);
      done();
    });
  });
github deprecate / generator-ember / test / test-controller.js View on Github external
this.controller.run({}, function () {
      helpers.assertFiles( JS_FILES_GENERATED_BY_CONTROLLER_SUBGEN );
      helpers.assertFile('app/scripts/controllers/users_controller.js', /UsersController/);
      helpers.assertFile('app/scripts/routes/users_route.js', /UsersRoute/);
      done();
    });
  });
github cironunes / generator-angular-next / test / test-creation.js View on Github external
this.app.run({}, function () {
      helpers.assertFile(expected);
      done();
    });
  });
github larsonjj / generator-yeogurt / test / test-less-nobootstrap.js View on Github external
this.app.run({}, function () {
            helpers.assertFile(expected);
            done();
        });
    });
github heynemann / generator-python-package / test / test-creation.js View on Github external
this.app.run({}, function () {
      helpers.assertFile(expected);
      done();
    });
  });