ahbeng/NUSMods

View on GitHub
website/src/actions/__snapshots__/theme.test.ts.snap

Summary

Maintainability
Test Coverage
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`theme should dispatch a cycle of theme 1`] = `
{
  "payload": 1,
  "type": "CYCLE_THEME",
}
`;

exports[`theme should dispatch a cycle of theme 2`] = `
{
  "payload": -1,
  "type": "CYCLE_THEME",
}
`;

exports[`theme should dispatch a select of theme 1`] = `
{
  "payload": "test",
  "type": "SELECT_THEME",
}
`;

exports[`theme should dispatch a toggle of timetable orientation 1`] = `
{
  "payload": null,
  "type": "TOGGLE_TIMETABLE_ORIENTATION",
}
`;