tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

sources.spec.js (433B)


      1 /* This Source Code Form is subject to the terms of the Mozilla Public
      2 * License, v. 2.0. If a copy of the MPL was not distributed with this
      3 * file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
      4 
      5 import { getSource } from "../sources";
      6 
      7 describe("sources", () => {
      8  it("fail getSource", () => {
      9    const sourceId = "some.nonexistent.source.id";
     10    expect(() => {
     11      getSource(sourceId);
     12    }).toThrow();
     13  });
     14 });