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

_examples/application/handler_test.go fails to compile #53

Open
marek-kuticka opened this issue Jun 11, 2023 · 5 comments
Open

_examples/application/handler_test.go fails to compile #53

marek-kuticka opened this issue Jun 11, 2023 · 5 comments

Comments

@marek-kuticka
Copy link

Describe the bug
newly cloned repo from main branch fails to execute some of the tests.

To Reproduce
Steps to reproduce the behavior:

try to compile handler_test.go

Expected behavior
compiles with no errors

Actual Behavior
Code does not compile. in the readme file, it is still mentioned, that mocha.New(t) or mocha.NewSimple() is to be used to instantiate mocha instance to facilitate tests, however these methods are not found.in other tests, e.g. mhttp_test.go a different way to instantiate mocha is used, namely `NewAPI

also I can't find AddMocks() in current code.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@marek-kuticka
Copy link
Author

some files, including mocha.go seem to be missing from main branch

@vitorsalgado
Copy link
Owner

Hi @marek-kuticka , please try the branch 3.x.

@marek-kuticka
Copy link
Author

Thx a lot, I Will, but is There a reason, that those files are missing? Some bigger rework? As There IS quite a diference between 3.x and main.

Marek

@vitorsalgado
Copy link
Owner

@marek-kuticka Yeah, I'm doing a massive rework on the lib.

@marek-kuticka
Copy link
Author

marek-kuticka commented Jun 12, 2023

Ah, thx to know. Any estimates yet, when it should be done? Partially stable?

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