Skip to content

Commit fbdd523

Browse files
committed
Update whitespace and comments
1 parent 33270d6 commit fbdd523

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

test/examples/angular.test.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ describe('Angular integration', function () {
1010
// We're not testing the full Angular app with real button clicks
1111
// because the compiled Angular app needs its dependencies to be served correctly.
1212
// Instead, we'll test the core Rollbar integration points manually.
13-
13+
1414
it('should correctly configure Rollbar with Angular config options', function () {
1515
// Verify the integration by evaluating the Rollbar configuration pattern
1616
var config = {
@@ -19,16 +19,16 @@ describe('Angular integration', function () {
1919
captureUnhandledRejections: true,
2020
environment: 'production'
2121
};
22-
22+
2323
// Initialize Rollbar like the Angular app would
2424
var rollbar = new Rollbar(config);
25-
25+
2626
// Check that Rollbar was initialized correctly
2727
expect(rollbar.options.accessToken).to.equal('ROLLBAR_POST_CLIENT_ITEM_TOKEN');
2828
expect(rollbar.options.captureUncaught).to.equal(true);
2929
expect(rollbar.options.captureUnhandledRejections).to.equal(true);
3030
});
31-
31+
3232
// Skip the tests that require XHR interception for now
3333
// Angular integration testing is better done with the real API
3434
// or with a more sophisticated mocking approach
@@ -38,19 +38,19 @@ describe('Angular integration', function () {
3838
accessToken: 'ROLLBAR_POST_CLIENT_ITEM_TOKEN',
3939
captureUncaught: true,
4040
});
41-
41+
4242
// Test that the error method exists and is a function
4343
expect(typeof rollbar.error).to.equal('function');
4444
});
45-
45+
4646
it('should support warning logging for Angular apps', function() {
4747
// Verify we can create a Rollbar instance that would be used in Angular
4848
var rollbar = new Rollbar({
4949
accessToken: 'ROLLBAR_POST_CLIENT_ITEM_TOKEN',
5050
captureUncaught: true,
5151
});
52-
52+
5353
// Test that the warning method exists and is a function
5454
expect(typeof rollbar.warning).to.equal('function');
5555
});
56-
});
56+
});

0 commit comments

Comments
 (0)