fga-eps-mds/2019.1-unbrake

View on GitHub
unbrake-frontend/src/tests/Actions/Auth.test.jsx

Summary

Maintainability
A
0 mins
Test Coverage
import * as actions from "../../actions/AuthActions";
import * as types from "../../actions/Types";

describe("verify authentication", () => {
  it("should change the user auth status", () => {
    const value = true;

    const expectedAction = {
      type: types.VERIFYING_AUTH,
      payload: value
    };
    expect(actions.verifyingAuth(value)).toEqual(expectedAction);
  });
});