From e0c7cbbffa76aa9af6441be10f19431606a1819d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20B=C3=B6hm?= <188768+fb55@users.noreply.github.com> Date: Sat, 8 May 2021 23:48:25 +0100 Subject: [PATCH] docs(readme): Remove obsolete Testing section `make` is no longer part of the project, and `npm test` is so common that it doesn't need to be documented. --- Readme.md | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/Readme.md b/Readme.md index b2542aa891..1295407b03 100644 --- a/Readme.md +++ b/Readme.md @@ -212,15 +212,17 @@ cheerio.html($('.pear')); By default, `html` will leave some tags open. Sometimes you may instead want to render a valid XML document. For example, you might parse the following XML snippet: -```xml -const $ = cheerio.load(''); +```js +const $ = cheerio.load( + '' +); ``` ... and later want to render to XML. To do this, you can use the 'xml' utility function: ```js $.xml(); -//=> +//=> ``` You may also render the text content of a Cheerio object using the `text` static method: @@ -267,17 +269,6 @@ Cheerio collections are made up of objects that bear some resemblance to [browse Are you using cheerio in production? Add it to the [wiki](https://github.com/cheeriojs/cheerio/wiki/Cheerio-in-Production)! -## Testing - -To run the test suite, download the repository, then within the cheerio directory, run: - -```shell -make setup -make test -``` - -This will download the development packages and run the test suite. - ## Sponsors Does your company use Cheerio in production? Please consider [sponsoring this project](https://github.com/cheeriojs/cheerio?sponsor=1)! Your help will allow maintainers to dedicate more time and resources to its development and support.