From c29004c4081e8d7f20537a8b4eee59b06e84720a Mon Sep 17 00:00:00 2001 From: Sebastian Mayr Date: Fri, 17 May 2013 19:55:18 +0200 Subject: [PATCH] Add testfile submodule, jasmine dependency and test script --- .gitmodules | 3 +++ package.json | 6 ++++++ tests/files | 1 + 3 files changed, 10 insertions(+) create mode 100644 .gitmodules create mode 160000 tests/files diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..82bccaa --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "tests/files"] + path = tests/files + url = git@github.com:Sebmaster/js-xlsx-testfiles.git diff --git a/package.json b/package.json index bf9b4c5..af8238d 100644 --- a/package.json +++ b/package.json @@ -17,5 +17,11 @@ "bugs": { "url": "https://github.com/Niggler/js-xlsx/issues" }, + "devDependencies": { + "jasmine-node": "x" + }, + "scripts": { + "test": "jasmine-node tests/" + }, "engines": { "node": ">=0.6" } } diff --git a/tests/files b/tests/files new file mode 160000 index 0000000..340b477 --- /dev/null +++ b/tests/files @@ -0,0 +1 @@ +Subproject commit 340b4779c42e8b322de850679d6abbe787ee8afc