UNPKG

chrome-devtools-frontend

Version:
15 lines (11 loc) 536 B
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import * as UI from './legacy.js'; describe('Context', () => { it('can be instantiated without issues', () => { const context = UI.Context.Context.instance({forceNew: true}); assert.strictEqual(context.flavors().size, 0, 'context should not have any flavors upon instantiation'); }); // TODO continue writing tests here or use another describe block });