Skip to content

Commit

Permalink
Merge pull request #108 from form8ion/alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
travi authored Sep 4, 2022
2 parents b3064e4 + c1348b9 commit 45a4643
Show file tree
Hide file tree
Showing 15 changed files with 3,836 additions and 1,300 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/node-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,22 @@ env:
FORCE_COLOR: 1
NPM_CONFIG_COLOR: always
jobs:
verify-matrix:
runs-on: ubuntu-latest
strategy:
matrix:
node:
- 16.0.0
- 16
steps:
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
cache: npm
node-version: ${{ matrix.node }}
- run: npm clean-install
- run: npm test
verify:
runs-on: ubuntu-latest
steps:
Expand All @@ -30,6 +46,7 @@ jobs:
if: github.event_name == 'push'
needs:
- verify
- verify-matrix
steps:
- uses: octokit/request-action@v2.x
with:
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ test framework plugin for form8ion
[![MIT license][license-badge]][license-link]
[![npm][npm-badge]][npm-link]
[![Try @form8ion/vitest on RunKit][runkit-badge]][runkit-link]
![node][node-badge]

<!--consumer-badges end -->

Expand Down Expand Up @@ -132,3 +133,5 @@ $ npm test
[runkit-link]: https://npm.runkit.com/@form8ion/vitest

[runkit-badge]: https://badge.runkitcdn.com/@form8ion/vitest.svg

[node-badge]: https://img.shields.io/node/v/@form8ion/vitest?logo=node.js
6 changes: 0 additions & 6 deletions cucumber.js

This file was deleted.

22 changes: 22 additions & 0 deletions cucumber.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
const base = {
formatOptions: {snippetInterface: 'async-await'},
import: ['test/integration/features/**/*.mjs'],
publishQuiet: true
};

export default base;

export const wip = {
...base,
tags: '@wip and not @skip'
};

export const noWip = {
...base,
tags: 'not @skip and not @wip'
};

export const focus = {
...base,
tags: '@focus'
};
2 changes: 1 addition & 1 deletion example.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// #### Import
// remark-usage-ignore-next
import stubbedFs from 'mock-fs';
import {scaffold} from './lib/index.cjs';
import {scaffold} from './lib/index.js';

// remark-usage-ignore-next
stubbedFs({templates: {'canary-test.js': ''}});
Expand Down
Loading

0 comments on commit 45a4643

Please sign in to comment.