Compare commits
No commits in common. "649e70b200667fdf42248f5351f2d374fc478958" and "f921ff783eee61f6eb3dce4103389fa3edb04536" have entirely different histories.
649e70b200
...
f921ff783e
@ -15,7 +15,6 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "eslint .",
|
"lint": "eslint .",
|
||||||
"test": "nyc ava",
|
"test": "nyc ava",
|
||||||
"ci": "yarn && node jenkins.js",
|
"ci": "yarn && node jenkins.js"
|
||||||
"mutate": "stryker run"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -40,14 +40,3 @@ test ('copy object', (t) => {
|
|||||||
t.is (copy.foo, 'baz');
|
t.is (copy.foo, 'baz');
|
||||||
t.is (obj.foo, 'bar');
|
t.is (obj.foo, 'bar');
|
||||||
});
|
});
|
||||||
|
|
||||||
test ('run regex', (t) => {
|
|
||||||
const data = 'foobarfoo';
|
|
||||||
const regex = /foo/gu;
|
|
||||||
let count = 0;
|
|
||||||
util.run_regex(regex,data,(res)=>{
|
|
||||||
t.is(res[0], 'foo');
|
|
||||||
count++;
|
|
||||||
})
|
|
||||||
t.is(count, 2);
|
|
||||||
});
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user