Browse Source

Add simple test

master
Sambo Chea 1 month ago
parent
commit
eca2333521
  1. 7
      jest.config.js
  2. 5
      package.json
  3. 3
      test/simple.test.js

7
jest.config.js

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

5
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"
}
}

3
test/simple.test.js

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