Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 2 contributors
Showing with 12 additions and 1 deletion.
  1. +11 −0 Makefile
  2. +1 −1  test/test.js
View
11 Makefile
@@ -0,0 +1,11 @@
+ALL_TESTS = $(shell find test/ -name '*test.js')
+
+run-tests:
+ @./node_modules/.bin/mocha \
+ $(TESTFLAGS) \
+ $(TESTS)
+
+test:
+ @$(MAKE) NODE_PATH=lib TESTS="$(ALL_TESTS)" run-tests
+
+.PHONY: test
View
2  test/test.js
@@ -1,6 +1,6 @@
var fs = require('fs');
var should = require('should');
-var key = new String(fs.readFileSync('APIKEY')).replace(/(\r\n|\n|\r)/gm,"");
+var key = new String(fs.readFileSync(__dirname + '/APIKEY')).replace(/(\r\n|\n|\r)/gm,"");
var tmdb = require('../lib/tmdb').init(key);
describe("General methods", function() {

No commit comments for this range

Something went wrong with that request. Please try again.