Skip to content

Commit f0211c3

Browse files
committed
chore(style): code style cleanups
1 parent dd155b1 commit f0211c3

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

test/test-file-creation.js

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ describe('Angular generator', function () {
8080
});
8181
});
8282

83-
it('creates coffeescript files', function (done) {
83+
it('creates CoffeeScript files', function (done) {
8484
helpers.mockPrompt(angular, mockPrompts);
8585

8686
angular.env.options.coffee = true;
@@ -125,7 +125,7 @@ describe('Angular generator', function () {
125125
angularGenerator = helpers.createGenerator('angular:' + generatorType, deps, [name], genOptions);
126126

127127
helpers.mockPrompt(angular, mockPrompts);
128-
angular.run([], function (){
128+
angular.run([], function () {
129129
angularGenerator.run([], function () {
130130
assert.fileContent([
131131
[
@@ -190,11 +190,9 @@ describe('Angular generator', function () {
190190
angularView = helpers.createGenerator('angular:view', deps, ['foo'], genOptions);
191191

192192
helpers.mockPrompt(angular, mockPrompts);
193-
angular.run([], function (){
193+
angular.run([], function () {
194194
angularView.run([], function () {
195-
helpers.assertFile(
196-
['app/views/foo.html']
197-
);
195+
helpers.assertFile(['app/views/foo.html']);
198196
done();
199197
});
200198
});
@@ -206,11 +204,9 @@ describe('Angular generator', function () {
206204
angularView = helpers.createGenerator('angular:view', deps, ['foo/bar'], genOptions);
207205

208206
helpers.mockPrompt(angular, mockPrompts);
209-
angular.run([], function (){
207+
angular.run([], function () {
210208
angularView.run([], function () {
211-
helpers.assertFile(
212-
['app/views/foo/bar.html']
213-
);
209+
helpers.assertFile(['app/views/foo/bar.html']);
214210
done();
215211
});
216212
});

0 commit comments

Comments
 (0)