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 005868b commit 41d09d9Copy full SHA for 41d09d9
test/tabs/cli.js
@@ -1,5 +1,12 @@
1
-describe('TABS.cli', () => {
+class MockAnalytics {
2
+ EVENT_CATEGORIES = {};
3
+
4
+ sendEvent() {}
5
+}
6
7
+var analytics;
8
9
+describe('TABS.cli', () => {
10
function toArrayBuffer(string) {
11
var bufferOut = new ArrayBuffer(string.length);
12
var bufView = new Uint8Array(bufferOut);
@@ -22,6 +29,8 @@ describe('TABS.cli', () => {
22
29
CliAutoComplete.setEnabled(false); // not testing the client-side autocomplete
23
30
24
31
before(() => {
32
+ analytics = new MockAnalytics();
33
25
34
$('body')
26
35
.append(cliTab);
27
36
0 commit comments