acuminous/twiki-gherkish-feature-parser

View on GitHub
lib/events/SingleLineCommentEvent.js

Summary

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

export default class SingleLineCommentEvent extends BaseRegExpEvent {

  static description = 'a single line comment';

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