We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69862fe commit f76a2c2Copy full SHA for f76a2c2
test/integration/zendeskWidgetSpec.js
@@ -1,16 +1,11 @@
1
-'use strict';
+describe('zendeskWidget', function() {
2
+ 'use strict';
3
-describe('Angular Zendesk Widget', function() {
4
-
5
- describe('Module bootstrap', function() {
6
7
- it('should throw if no accountUrl provided', function() {
8
- module('zendeskWidget');
9
- expect(function() {
10
- inject()
11
- }).toThrowError('Missing accountUrl. Please set in app config via ZendeskWidgetProvider');
12
- });
+ beforeEach(module('zendeskWidget'));
13
+ it('throws an error when `accountUrl` is blank', function() {
+ expect(function() { inject() }).toThrowError(
+ 'Missing accountUrl. Please set in app config via ZendeskWidgetProvider'
+ );
14
});
15
16
0 commit comments