chrome-devtools-frontend
Version:
Chrome DevTools UI
15 lines (11 loc) • 536 B
text/typescript
// 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
});