Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added Mongolian Tugrik #51

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

The-White-Fang
Copy link

No description provided.

@paul-shuvo
Copy link
Owner

Could you add a test for MNT in the test file like the following:

    describe("rates", () =>  {
        it("should not return undefined values", () => {
            currencyConverter.from("USD").to("JPY")
            return expect(currencyConverter.rates()).to.eventually.not.equal(undefined)
        })

        it("should not return undefined values for CF", () => {
            currencyConverter.from("CF").to("JPY")
            return expect(currencyConverter.rates()).to.eventually.not.equal(undefined)
        })

        it("should not return undefined values for CHF", () => {
            currencyConverter.from("USD").to("CHF")
            return expect(currencyConverter.rates()).to.eventually.not.equal(undefined)
        })

        it("should not return undefined values for KMF", () => {
            currencyConverter.from("KMF").to("USD")
            return expect(currencyConverter.rates()).to.eventually.not.equal(undefined)
        })

        it("should not return undefined values when isDecimalComma is true", () => {
            currencyConverter.from("USD").to("JPY").setDecimalComma(true)
            return expect(currencyConverter.rates()).to.eventually.not.equal(undefined)
        })
    })

@The-White-Fang
Copy link
Author

Will do.

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