text: "use strict";
  
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
  
  var _ = _interopRequireDefault(require("."));
  
  // Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
  // SPDX-License-Identifier: Apache-2.0
  describe('KeyringOption', () => {
    it('should not allow initOptions to be called more than once', () => {
      const state = {}; // first call
  
      _.default.init(state); // second call
  
  
      expect(() => {
        _.default.init(state);
      }).toThrowError('Unable to initialise options more than once');
    });
  });