UNPKG
skutter
Version:
latest (1.0.4)
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
Skutter: Opinionated BDD Browser based test framework
github.com/Ashthos/skutter
Ashthos/skutter
skutter
/
dist
/
lib
/
framework
/
iskutter-dictionary.js
15 lines
(14 loc)
•
337 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
"use strict"
;
class
SkutterDictionary
{
constructor
(
) {
this
.
definitions
= []; }
get
defined
() {
return
this
.
definitions
; }
define
(
identifier, regex
) {
this
.
definitions
.
push
({
identifier
: identifier,
regex
: regex });
return
this
; } }
exports
.
SkutterDictionary
=
SkutterDictionary
;