Skip to content

Commit

Permalink
refactor: Move tests to root
Browse files Browse the repository at this point in the history
Signed-off-by: Diwank Singh Tomer <[email protected]>
  • Loading branch information
creatorrr committed Apr 1, 2021
1 parent 938875f commit ed08f6c
Show file tree
Hide file tree
Showing 14 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ api.textToSpeech: (text: string) => {

- Edit files in `src/` directory
- Run `npm run build`
- Add test cases in `cjs/tests/` directory. File names need to start with `test_`.
- Add test cases in `tests/` directory. File names need to start with `test_`.
- Make sure to set env vars: `export MAUNA_DEVELOPER_ID=XX MAUNA_API_KEY=XXX`
- Run `npm test`

Expand Down
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ module.exports = {
// restoreMocks: false,

// The root directory that Jest should scan for tests and modules within
rootDir: "./cjs",
rootDir: "./",

// A list of paths to directories that Jest should use to search for files in
// roots: [
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit ed08f6c

Please sign in to comment.