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

How to replace momentjs ? #378

Closed
packlikez opened this issue Jul 26, 2018 · 2 comments
Closed

How to replace momentjs ? #378

packlikez opened this issue Jul 26, 2018 · 2 comments

Comments

@packlikez
Copy link

I can't replace momentjs dependency help me. Thanks.

@searls
Copy link
Member

searls commented Jul 26, 2018

Assuming you mean you're trying to literally mock out moment.js using td.replace('moment'), then we wouldn't recommend or support that. Some details on why here: https://github.com/testdouble/contributing-tests/wiki/Don't-mock-what-you-don't-own

@searls searls closed this as completed Jul 26, 2018
@packlikez
Copy link
Author

Can you give me a example to replace moment ?

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

No branches or pull requests

2 participants