acuminous/twiki-gherkish-feature-parser

View on GitHub
lib/events/BlankLineEvent.js

Summary

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

export default class BlankLineEvent extends BaseRegExpEvent {

  static description = 'a blank line';

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