Skip to content

Fix unit tests and example for Simple Cipher exercise - #448

Merged
tejasbubane merged 1 commit into
exercism:masterfrom
xarxziux:simple-cipher-436
Sep 2, 2018
Merged

tejasbubane merged 1 commit into
exercism:masterfrom
xarxziux:simple-cipher-436

Conversation

@xarxziux

Copy link
Copy Markdown
Contributor

Change the example for the Simple Cipher exercise to accept a named class export instead of a default class export as per issues #274 and #436, and expand unit tests as per issue #445:

  • Refactor example.js to export a named class.
  • Change default import Cipher to named import { Cipher }.
  • Add unit tests to include checks for non-alphabet characters.

Change the example for the Simple Cipher exercise to accept a named class export instead of a default class export as per issues exercism#274 and exercism#436, and expand unit tests as per issue exercism#445:
- Refactor example.js to export a named class.
- Change default import `Cipher` to named import `{ Cipher }`.
- Add unit tests to include checks for non-alphabet characters.
@tejasbubane

Copy link
Copy Markdown
Member

Thanks a lot for all these PRs @xarxziux ! These were great help sorting things out. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants