Skip to content

Commit 9c03224

Browse files
committed
Updated the worker to the v2 layout
1 parent 044cf1a commit 9c03224

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

index.js

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,27 @@
1-
module.exports = exports = require('./lib');
1+
const passmarked = require('passmarked');
2+
const _ = require('underscore')
3+
4+
/**
5+
* Creates the actual test
6+
**/
7+
var Test = passmarked.createTest(
8+
9+
_.extend(
10+
11+
{},
12+
require('./package.json'),
13+
require('./worker.json'),
14+
{
15+
16+
rules: require('./lib')
17+
18+
}
19+
20+
)
21+
22+
);
23+
24+
/**
25+
* Expose the test
26+
**/
27+
module.exports = exports = Test;

0 commit comments

Comments
 (0)