acuminous/twiki-gherkish-feature-parser

View on GitHub
lib/events/EndEvent.js

Summary

Maintainability
A
50 mins
Test Coverage
A
100%
import BaseRegExpEvent from './BaseRegExpEvent.js';

export default class EndEvent extends BaseRegExpEvent {

  static description = 'the end of the feature';

  constructor(props = {}) {
    super({ expected: props.expected, regexp: /^\u0000$/ });
  }
}