Skip to content

Commit 5202003

Browse files
committed
wip(runkit): add the shell of the remover
1 parent 9245665 commit 5202003

5 files changed

Lines changed: 15 additions & 3 deletions

File tree

src/runkit/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
export {default as scaffold} from './scaffolder.js';
2+
export {default as remove} from './remover.js';

src/runkit/remover.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export default function removeRunkit() {
2+
3+
}

src/runkit/remover.test.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import {describe, it} from 'vitest';
2+
3+
import removeRunkit from './remover.js';
4+
5+
describe('runkit remover', () => {
6+
it('should remove runkit details from the project', async () => {
7+
await removeRunkit();
8+
});
9+
});

test/integration/features/lift/runkit.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Feature: Remove Runkit details from existing package
1+
Feature: Remove Runkit details from existing package since the service is no longer available
22

33
@wip
44
Scenario: package with legacy runkit details

test/integration/features/step_definitions/runkit-steps.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,5 @@ Then('the runkit details are removed from the package.json', async function () {
1919
});
2020

2121
Then('a next-step is defined to suggest removing the runkit badge from the README', async function () {
22-
// Write code here that turns the phrase above into concrete actions
23-
return 'pending';
22+
assert.include(this.results.nextSteps, 'Remove the runkit badge from the README');
2423
});

0 commit comments

Comments
 (0)