chromium/chrome/test/data/webui/chromeos/settings/device_page/input_device_mojo_interface_provider_test.ts

// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

import {getInputDeviceSettingsProvider} from 'chrome://os-settings/os_settings.js';
import {assertTrue} from 'chrome://webui-test/chai_assert.js';

suite('InputDeviceMojoInterfaceProvider', () => {
  test('SettingGettingTestProvider', () => {
    // Test that if there was no provider, getInputDeviceSettingsProvider
    // method will create one.
    const provider = getInputDeviceSettingsProvider();
    assertTrue(!!provider);
  });
});