Add simple test

This commit is contained in:
Sambo Chea 2021-03-26 09:20:41 +07:00
parent e9911d6b3b
commit eca2333521
3 changed files with 14 additions and 1 deletions

7
jest.config.js Normal file
View File

@ -0,0 +1,7 @@
module.exports = {
clearMocks: true,
moduleFileExtensions: ["js"],
testEnvironment: "node",
testMatch: ["**/*.test.js"],
verbose: true,
};

View File

@ -22,5 +22,8 @@
"bugs": { "bugs": {
"url": "https://github.com/CUBETIQ/data-migration-nodejs/issues" "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"
}
} }

3
test/simple.test.js Normal file
View File

@ -0,0 +1,3 @@
test('simple test', () => {
expect(1).toBe(1)
})