From 61e3a0ccebef255c48da2b951f1cfb23628c96a4 Mon Sep 17 00:00:00 2001 From: Tobias Skarhed Date: Fri, 3 Aug 2018 11:57:03 +0200 Subject: [PATCH] Begin conversion --- public/test/specs/app.jest.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 public/test/specs/app.jest.ts diff --git a/public/test/specs/app.jest.ts b/public/test/specs/app.jest.ts new file mode 100644 index 00000000000..0e15ab8234d --- /dev/null +++ b/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); + }); +});