diff --git a/jest.config.js b/jest.config.js new file mode 100644 index 0000000..3dc8bb2 --- /dev/null +++ b/jest.config.js @@ -0,0 +1,7 @@ +module.exports = { + clearMocks: true, + moduleFileExtensions: ["js"], + testEnvironment: "node", + testMatch: ["**/*.test.js"], + verbose: true, +}; \ No newline at end of file diff --git a/package.json b/package.json index 28e2eb4..e783387 100644 --- a/package.json +++ b/package.json @@ -22,5 +22,8 @@ "bugs": { "url": "https://github.com/CUBETIQ/data-migration-nodejs/issues" }, - "homepage": "https://github.com/CUBETIQ/data-migration-nodejs#readme" + "homepage": "https://github.com/CUBETIQ/data-migration-nodejs#readme", + "dependencies": { + "jest": "^26.6.3" + } } diff --git a/test/simple.test.js b/test/simple.test.js new file mode 100644 index 0000000..5946303 --- /dev/null +++ b/test/simple.test.js @@ -0,0 +1,3 @@ +test('simple test', () => { + expect(1).toBe(1) +}) \ No newline at end of file