[Enhancement] Nightwatch Typescript Support #3322
Labels
enhancement
epic
typescript
Issues related to Typescript
typescript-types-declaration
Issues to related to Typescript types
Currently, Typescript support in Nightwatch isn't great. For example, for a user to run a typescript project, firstly user needs to compile and then the user needs to run tests using Nightwatch CLI. So we wanted to fix the experience.
This is a list of Project that needs improvement.
Create Nightwatch
tsc –init
for the new npm project, to createtsconfig
config fileNightwatch.conf.ts
for typescript projects (After Nightwatch release, which supports native typescript transpiling)module.exports
, which typescript understands but not the recommended way.Nightwatch Typescript Boilerplate
Nightwatch Docs
Docs about writing and Organizing tests
Javascript
andTypescript
Docs for installing Typescript (Related PR: Add: guide for typescript setup nightwatch-docs#130)
typescript
andts-node
tsconfig.json
(recommended config and location of the config)create-nightwatch
toolNightwatch
nightwatch.conf.ts
@types/nightwatch
ts-node
if project is using typescriptnightwatch/tsconfig.json
ortsconfig.nightwatch.json
. Precedence will be given tonightwatch/tsconfig.json
.The text was updated successfully, but these errors were encountered: