Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
Remove L10N setup from utils/tests/scopes.js (#2733)
Browse files Browse the repository at this point in the history
* Remove L10N setup from utils/tests/scopes.js

L10N is globally setup for all tests so this is not required.

* Remove L10N from components/tests/WhyPaused.js
  • Loading branch information
irfanhudda authored and jasonLaster committed Apr 25, 2017
1 parent 819f164 commit 5b651fe
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions src/components/tests/WhyPaused.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ import { shallow } from "enzyme";
import WhyPaused from "../SecondaryPanes/WhyPaused.js";
const fromJS = require("../../utils/fromJS");

global.L10N = { getStr: () => "" };

const WhyPausedComponent = React.createFactory(WhyPaused.WrappedComponent);

describe("WhyPaused", () => {
Expand Down
6 changes: 0 additions & 6 deletions src/utils/tests/scopes.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,12 +196,6 @@ describe("scopes", () => {
frame,
isInterrupted: false
});

global.L10N = { getStr: () => "" };
});

afterEach(function() {
delete global.L10N;
});

it("Returns variables from the outer scope", function() {
Expand Down

0 comments on commit 5b651fe

Please sign in to comment.