@beauraines/bacon-ipsum-cli 0.2.7 → 0.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -0
- package/package.json +1 -1
- package/utils.test.js +2 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [0.2.8](https://github.com/beauraines/bacon-ipsum-cli/compare/v0.2.7...v0.2.8) (2024-06-21)
|
|
6
|
+
|
|
5
7
|
## [0.2.7](https://github.com/beauraines/bacon-ipsum-cli/compare/v0.2.6...v0.2.7) (2024-06-21)
|
|
6
8
|
|
|
7
9
|
## [0.2.6](https://github.com/beauraines/bacon-ipsum-cli/compare/v0.2.5...v0.2.6) (2024-06-16)
|
package/package.json
CHANGED
package/utils.test.js
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
/* eslint-disable jest/no-disabled-tests */
|
|
2
|
-
import { buildQueryString,
|
|
2
|
+
import { buildQueryString, processOutput } from "./utils.js";
|
|
3
3
|
import copyPaste from "copy-paste";
|
|
4
4
|
import debugClient from 'debug'
|
|
5
|
+
// eslint-disable-next-line no-unused-vars
|
|
5
6
|
const debug = debugClient('utils-tests');
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
|
|
9
10
|
describe('utilities', () => {
|
|
10
11
|
|
|
11
|
-
const apiUrl = 'https://baconipsum.com/api/';
|
|
12
|
-
|
|
13
12
|
test('should return multiple paragraphs', () => {
|
|
14
13
|
const paragraphs = 2;
|
|
15
14
|
const output = `Turkey flank meatball, ham t-bone pancetta ham hock drumstick beef boudin ground round short loin pig buffalo. Flank pork pork loin chislic spare ribs. Pork loin tenderloin kevin, bresaola picanha ham hock shoulder shank venison rump. Shankle short loin fatback venison salami. Capicola short ribs landjaeger, beef ribs shankle bacon meatloaf sirloin frankfurter venison chicken ham hock burgdoggen chuck. Burgdoggen tri-tip salami beef shoulder boudin flank andouille pancetta tongue fatback short ribs t-bone.
|