Skip to content

Commit

Permalink
fix: redput: parseLink
Browse files Browse the repository at this point in the history
  • Loading branch information
coderaiser committed Aug 21, 2023
1 parent 0da3094 commit c0511bf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 0 additions & 3 deletions lib/parse-link.spec.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import {test} from 'supertape';
import {link} from 'fs/promises';
import {
MOBILE_PUTOUT_EDITOR,
parseLink,
Expand All @@ -21,10 +20,8 @@ test('redput: parse-link: mobile putout editor', (t) => {
const link = MOBILE_PUTOUT_EDITOR + HASH;

const result = parseLink(link);

const expected = HASH;

t.equal(result, expected);
t.end();
});

1 change: 1 addition & 0 deletions lib/redput.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import tryToCatch from 'try-to-catch';
import {getReport} from './get-report/get-report.js';
import {readGist} from './read-gist/read-gist.js';
import {writePlugin} from './write/index.js';
import {parseLink} from './parse-link.js';

const SUCCESS = [null, 'Done'];

Expand Down

0 comments on commit c0511bf

Please sign in to comment.