瀏覽代碼

Begin conversion

Tobias Skarhed 7 年之前
父節點
當前提交
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);
+  });
+});