From 6a43c576ef95f57e5e4f48e0e94b5f02d27679c1 Mon Sep 17 00:00:00 2001 From: Sam Saint-Pettersen Date: Tue, 4 Aug 2015 14:05:01 +0100 Subject: [PATCH] Create path-case-tests.ts --- path-case/path-case-tests.ts | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 path-case/path-case-tests.ts diff --git a/path-case/path-case-tests.ts b/path-case/path-case-tests.ts new file mode 100644 index 000000000..863559b2e --- /dev/null +++ b/path-case/path-case-tests.ts @@ -0,0 +1,9 @@ +/// + +import pathCase = require('path-case'); + +console.log(pathCase('string')); // => "string" +console.log(pathCase('camelCase')); // => "camel/case" +console.log(pathCase('sentence case')); // => "sentence/case" + +console.log(pathCase('MY STRING', 'tr')); // => "my.strıng"