From 2c2a240f1a82009590000c9f4787151f72f08f7b Mon Sep 17 00:00:00 2001 From: Deividas Bakanas Date: Thu, 10 Dec 2015 20:17:57 +0200 Subject: [PATCH] Test created --- replace-ext/replace-ext-tests.ts | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 replace-ext/replace-ext-tests.ts diff --git a/replace-ext/replace-ext-tests.ts b/replace-ext/replace-ext-tests.ts new file mode 100644 index 000000000..660a0b68b --- /dev/null +++ b/replace-ext/replace-ext-tests.ts @@ -0,0 +1,5 @@ +/// +import replaceExt = require('replace-ext'); + +var path: string = '/some/dir/file.js'; +var npath: string = replaceExt(path, '.coffee');