From 3da0603d1bcb88a1086e8fc721151eefb96c7d17 Mon Sep 17 00:00:00 2001 From: Lou Bichard Date: Thu, 14 Mar 2019 16:01:59 +0000 Subject: [PATCH] Add file path reference to readme (#237) --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 15742af..24ecb31 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,8 @@ assert.equal(foo.basenameAllCaps('/a/b/file.txt'), 'FILE.TXT'); You can also replace functions directly: +**get.js:** + ```js var get = require('simple-get'); var assert = require('assert'); @@ -67,6 +69,8 @@ module.exports = function fetch (callback) { }; ``` +**get.test.js:** + ```js var proxyquire = require('proxyquire').noCallThru(); var assert = require('assert');