Tobias Skarhed 7 лет назад
Родитель
Сommit
61e3a0cceb
1 измененных файлов с 10 добавлено и 0 удалено
  1. 10 0
      public/test/specs/app.jest.ts

+ 10 - 0
public/test/specs/app.jest.ts

@@ -0,0 +1,10 @@
+import { GrafanaApp } from 'app/app';
+jest.mock('app/routes/routes');
+
+describe('GrafanaApp', () => {
+  var app = new GrafanaApp();
+
+  it('can call inits', () => {
+    expect(app).not.toBe(null);
+  });
+});