Skip to content

Commit 97fb641

Browse files
authored
Merge pull request #472 from form8ion/beta
2 parents 4c62023 + a26ad94 commit 97fb641

File tree

16 files changed

+14760
-17796
lines changed

16 files changed

+14760
-17796
lines changed

.babelrc

Lines changed: 0 additions & 1 deletion
This file was deleted.
File renamed without changes.

.eslintrc.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ extends:
33
- '@form8ion'
44
- '@form8ion/cucumber'
55

6+
rules:
7+
import/extensions:
8+
- error
9+
- ignorePackages
10+
611
overrides:
712
- files: example.js
813
rules:

.github/workflows/node-ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,8 @@ jobs:
3030
strategy:
3131
matrix:
3232
node:
33-
- 14.15.0
34-
- 16.0.0
35-
- 16
33+
- 16.14.0
34+
- 18.0.0
3635
- 18
3736
- 19
3837
- 20
File renamed without changes.

cucumber.js

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,22 @@
1-
module.exports = {
2-
base: '--require-module @babel/register --format-options \'{"snippetInterface": "async-await"}\' --publish-quiet',
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+
publishQuiet: true
5+
};
6+
7+
export default base;
8+
9+
export const wip = {
10+
...base,
11+
tags: '@wip and not @skip'
12+
};
13+
14+
export const noWip = {
15+
...base,
16+
tags: 'not @skip and not @wip'
17+
};
18+
19+
export const focus = {
20+
...base,
21+
tags: '@focus'
622
};

example.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// #### Import
22
// remark-usage-ignore-next
33
import stubbedFs from 'mock-fs';
4-
import {lift, scaffold} from './lib/index.cjs';
4+
import {lift, scaffold} from './lib/index.js';
55

66
// remark-usage-ignore-next
77
stubbedFs();

0 commit comments

Comments
 (0)