blob: 7a21b587c6c34c79acd4a70dcf5bc44edae06e1f (
plain)
1
2
3
4
5
6
7
8
9
10
|
'use strict';
describe('ngCsp', function() {
it('it should turn on CSP mode in $sniffer', inject(function($sniffer, $compile) {
expect($sniffer.csp).toBe(false);
$compile('<div ng-csp></div>');
expect($sniffer.csp).toBe(true);
}));
});
|