Skip to content

v0.1.3

Compare
Choose a tag to compare
@KuznetsovRoman KuznetsovRoman released this 22 Apr 09:22
· 174 commits to master since this release
b071aa6

🚀 Improvements

  • add ability to specify dev server in config file (#911)

Usage example

// .testplane.conf.ts
const SERVER_PORT = 3000;
...
export default {
    ...
    devServer: {
        command: "npm run server:dev",
        env: {PORT: SERVER_PORT},
        readinessProbe: {
            url: `http://localhost:${SERVER_PORT}/health`
        }
    }
}

Creates dev server with command "npm run server:dev", pass PORT env variable and wait until its ready to receive network requests

Command could also be "node some/file.js" or something else.