Skip to content

Commit e93a0d2

Browse files
committed
feat(esm): convert the project to esm
BREAKING CHANGE: the package is now esm-only closes #435
1 parent 637140c commit e93a0d2

File tree

8 files changed

+211
-2175
lines changed

8 files changed

+211
-2175
lines changed

.babelrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

cucumber.js

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
1-
module.exports = {
2-
base: '--require-module @babel/register --format-options \'{"snippetInterface": "async-await"}\'',
3-
wip: '--tags "@wip"',
4-
noWip: '--tags "not @wip"',
5-
focus: '--tags @focus'
1+
const base = {
2+
formatOptions: {snippetInterface: 'async-await'},
3+
import: ['test/integration/features/**/*.js']
4+
};
5+
6+
export default base;
7+
8+
export const wip = {
9+
...base,
10+
tags: '@wip and not @skip'
11+
};
12+
13+
export const noWip = {
14+
...base,
15+
tags: 'not @skip and not @wip'
16+
};
17+
18+
export const focus = {
19+
...base,
20+
tags: '@focus'
621
};

0 commit comments

Comments
 (0)