Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Support TS ES5 and ES6 JS together. #2991

Unanswered
VoidEssy asked this question in Q&A
Discussion options

Greetings folk,

I'm in a case where we are using Codeceptjs for API automation except we have a bit of an issue, people using it have varying skills and preferences when it comes to language.

Some prefer ES5 JS
Some have already moved to ES6
And some usually backenders prefer TS

What I'm trying to achieve is to enable running and debugging of JS and TS files so basically make it agnostic to language it's written in. That also includes imports and usage of any utilities created to streamline / speedup the writing of tests.

Right now we have hit a wall where it's one or the other. Sure we can do the TS to JS conversion and focus on running JS even if you're writing tests in TS but if TS oriented person needs to debug ES5 JS is quite alien to them.

Could the community provide some ideas, thoughts, guidance on how can that be achieved without over-bloating / convoluting the repo?

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /