Skip to content

Commit

Permalink
[feat] - implementing tests for logger, router and server
Browse files Browse the repository at this point in the history
  • Loading branch information
JooLuiz committed Jul 5, 2024
1 parent 932f320 commit 7beeb21
Show file tree
Hide file tree
Showing 21 changed files with 698 additions and 39 deletions.
28 changes: 28 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Arquivos de configuração
.eslintrc
.prettierrc
.stylelintrc

# Arquivos de teste
__tests__
test/
tests/
*.test.ts
*.spec.ts

# Pastas e arquivos de build
dist/
build/
lib/
*.log

# Arquivos temporários
*.tmp

# Dependências locais instaladas
node_modules/

# Outros arquivos que não são necessários para o pacote publicado
.editorconfig
.gitignore
.npmrc
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

### Added

- Implementing tests for Logger, Router and Server

- Creating Simpler server README.md file.

- Creating Simpler server response method.
Expand Down
9 changes: 6 additions & 3 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
export const preset = "ts-jest";
export const testEnvironment = "node";
export const testMatch = ["**/__tests__/**/*.ts", "**/?(*.)+(spec|test).ts"];
/* eslint-disable no-undef */
module.exports = {
preset: "ts-jest",
testEnvironment: "node",
testMatch: ["**/__tests__/**/*.ts", "**/?(*.)+(spec|test).ts"],
};
Loading

0 comments on commit 7beeb21

Please sign in to comment.