timjroberts/cucumber-js-tsflow

beforeAll and afterAll undocumented despite being usable

max-carroll-sky opened this issue · 3 comments

in the cucumber js docs we have beforeAll and afterAll, these are present in your APIs but are not documented on your page

Perhaps a little snippet with an example would help, something like this

import { beforeAll } from 'cucumber-tsflow';

 @beforeAll()
    public async beforeRunningTheWholeSuite() {
        ...
    }

I would be happy to create a PR for this if you guys need any help and you agree

Nice catch! I totally missed that.

I'd gladly take a PR if you have the time, but if you don't I'll add it as soon as I have this is my tasks :)

Added to the README and added missing tests on this commit: e783156