Skip to content

Desafio #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 159 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
159 commits
Select commit Hold shift + click to select a range
76f034b
feat: :sparkles: creating branch develop
Josimar16 Aug 4, 2021
c4a938f
feat: :tada: starting backend
Josimar16 Aug 4, 2021
181c55a
style: :lipstick: ESLint configuration
Josimar16 Aug 6, 2021
1523028
style: :lipstick: prettier configuration
Josimar16 Aug 6, 2021
e2e1032
ci: :construction_worker: adding dockerfile and docker-compose
Josimar16 Aug 6, 2021
16d4fea
feat: :tada: installing necessary libs
Josimar16 Aug 6, 2021
bb849f9
test: :white_check_mark: configuring jest file
Josimar16 Aug 6, 2021
1240887
docs: :memo: adding swagger
Josimar16 Aug 6, 2021
0c813ef
feat: :sparkles: Adding index types
Josimar16 Aug 6, 2021
837c4a3
Merge pull request #1 from Josimar16/starting/backend
Josimar16 Aug 6, 2021
7998803
feat: :sparkles: creating a generic error class
Josimar16 Aug 6, 2021
ea72bdf
feat: :sparkles: instantiating the entire app
Josimar16 Aug 6, 2021
8f1ff09
feat: :sparkles: creating the API service
Josimar16 Aug 6, 2021
264069f
feat: :sparkles: creating a database instance
Josimar16 Aug 6, 2021
697caf1
feat: :sparkles: Creating a test bank access
Josimar16 Aug 6, 2021
36ccc34
Merge pull request #2 from Josimar16/structuring/backend
Josimar16 Aug 6, 2021
475c082
feat: :sparkles: creating migration to user entity
Josimar16 Aug 6, 2021
0febb88
feat: :sparkles: creating migration to property entity
Josimar16 Aug 7, 2021
8d40186
Merge pull request #3 from Josimar16/feature/database-migration
Josimar16 Aug 7, 2021
c3a0e48
feat: :sparkles: instantiating routes
Josimar16 Aug 7, 2021
395554e
feat: :lock: creating function for route validation
Josimar16 Aug 7, 2021
bf92f17
Merge pull request #4 from Josimar16/feature/validating-routes
Josimar16 Aug 7, 2021
cc80722
feat: :sparkles: creating property entity
Josimar16 Aug 7, 2021
2ad3d50
feat: :sparkles: creating a contract to define the repository methods
Josimar16 Aug 7, 2021
0b9477c
feat: :sparkles: creating fake database
Josimar16 Aug 7, 2021
18847fa
feat: :sparkles: creating a DTO for validation of date
Josimar16 Aug 7, 2021
6f90478
feat: :sparkles: creating property entity
Josimar16 Aug 7, 2021
0723f26
feat: :sparkles: creating repository typeorm
Josimar16 Aug 7, 2021
c6c593a
Merge pull request #5 from Josimar16/feature/module-property
Josimar16 Aug 7, 2021
615d8fd
test: :white_check_mark: creating controller integration test
Josimar16 Aug 7, 2021
60c4394
feat: :sparkles: creating controller
Josimar16 Aug 7, 2021
1254676
test: :white_check_mark: create use case unit test for property regis…
Josimar16 Aug 7, 2021
60da9b2
feat: :sparkles: creating use case for property registration
Josimar16 Aug 7, 2021
ed39f04
Merge pull request #6 from Josimar16/feature/useCase-register-property
Josimar16 Aug 7, 2021
85bb672
test: :white_check_mark: criando teste de integração de controlador f…
Josimar16 Aug 7, 2021
711c1d3
feat: :sparkles: creating controller for remove property by id
Josimar16 Aug 7, 2021
0e73681
test: :white_check_mark: create use case unit test for remove property
Josimar16 Aug 7, 2021
c4740f5
feat: :sparkles: creating use case for remove property
Josimar16 Aug 7, 2021
ccd212b
Merge pull request #7 from Josimar16/feature/useCase-remove-property
Josimar16 Aug 7, 2021
346b800
test: :white_check_mark: creating controller integration test for lis…
Josimar16 Aug 7, 2021
a321240
feat: :sparkles: creating controller for list of the properties
Josimar16 Aug 7, 2021
19917a1
test: :white_check_mark: create use case unit test for list of the pr…
Josimar16 Aug 7, 2021
ed887be
feat: :sparkles: creating use case for list of the properties
Josimar16 Aug 7, 2021
54a23d7
Merge pull request #8 from Josimar16/feature/useCase-list-properties
Josimar16 Aug 7, 2021
fdc2478
test: :white_check_mark: creating controller integration test for sho…
Josimar16 Aug 7, 2021
037b551
feat: :sparkles: creating controller for show property by id
Josimar16 Aug 7, 2021
f0856a3
test: :white_check_mark: create use case unit test for show property …
Josimar16 Aug 7, 2021
4804b00
feat: :sparkles: creating use case for show property by id
Josimar16 Aug 7, 2021
73732e1
Merge pull request #9 from Josimar16/feature/useCase-show-property-by-id
Josimar16 Aug 7, 2021
26ad16e
test: :white_check_mark: creating controller integration test for edi…
Josimar16 Aug 7, 2021
ee95e3a
feat: :sparkles: creating controller for edit property
Josimar16 Aug 7, 2021
18aba8c
test: :white_check_mark: create use case unit test for edit property
Josimar16 Aug 7, 2021
a7ec879
feat: :sparkles: creating use case for edit property
Josimar16 Aug 7, 2021
9b1e643
Merge pull request #10 from Josimar16/feature/useCase-update-property
Josimar16 Aug 7, 2021
56729e5
feat: :sparkles: defining access routes
Josimar16 Aug 7, 2021
6883984
Merge pull request #11 from Josimar16/feature/routes-properties
Josimar16 Aug 7, 2021
c16f829
feat: :sparkles: Creating dto for data transfer
Josimar16 Aug 7, 2021
b01fa35
feat: :sparkles: create contract to force to have the necessary methods
Josimar16 Aug 7, 2021
df6af92
feat: :sparkles: creating fake database
Josimar16 Aug 7, 2021
1306920
feat: :sparkles: creating implementation repository with typeorm
Josimar16 Aug 7, 2021
ed94a81
feat: :sparkles: creating a contract for password encryption
Josimar16 Aug 7, 2021
f4b9e4d
feat: :sparkles: creating a fake encryption for the password
Josimar16 Aug 7, 2021
42e7e24
feat: :sparkles: implementing encryption with bcrypt for the password
Josimar16 Aug 7, 2021
a287d2f
feat: :sparkles: creating injection to inject bcrypt into use cases
Josimar16 Aug 7, 2021
3c21622
Merge pull request #12 from Josimar16/feature/module-account
Josimar16 Aug 7, 2021
c937f97
feat: :sparkles: creating controller for authentication
Josimar16 Aug 7, 2021
f3b04c5
test: :white_check_mark: create use case unit test for authentication
Josimar16 Aug 7, 2021
2699a1a
feat: :sparkles: creating use case for authentication
Josimar16 Aug 7, 2021
90d7f1e
Merge pull request #13 from Josimar16/feature/useCase-authentication
Josimar16 Aug 7, 2021
e596ea1
feat: :sparkles: creating controller for creating of the user
Josimar16 Aug 7, 2021
518a51e
test: :white_check_mark: create use case unit test for create new user
Josimar16 Aug 7, 2021
b0ed95d
feat: :sparkles: creating use case for create new user
Josimar16 Aug 7, 2021
a5899f6
feat: :sparkles: adding routes to the session
Josimar16 Aug 7, 2021
6a6ff8b
feat: :sparkles: adding routes to the user
Josimar16 Aug 7, 2021
b1b09fd
Merge pull request #14 from Josimar16/feature/useCase-register-user
Josimar16 Aug 7, 2021
d609e47
Merge pull request #15 from Josimar16/feature/routes-users
Josimar16 Aug 7, 2021
e7a3142
feat: :sparkles: adding repository injections to the application
Josimar16 Aug 7, 2021
63b4255
Merge branch 'feature/backend' of https://github.com/Josimar16/teste-…
Josimar16 Aug 7, 2021
3ef99ac
Merge pull request #17 from Josimar16/structuring/backend
Josimar16 Aug 7, 2021
fe59a89
Merge pull request #18 from Josimar16/feature/backend
Josimar16 Aug 7, 2021
7edc1e8
feat: :sparkles: Adicionando o axios e o cors
Josimar16 Aug 9, 2021
7de5ab1
feat: :sparkles: Adicionando as novas rotas na documentalção da api
Josimar16 Aug 9, 2021
f789a90
refactor: :recycle: Adicionando o cors para as permissões de outros d…
Josimar16 Aug 9, 2021
da707ff
refactor: :recycle: Alterando o nome do DB
Josimar16 Aug 9, 2021
00d97b1
feat: :sparkles: Adicionando a nova injeção no container
Josimar16 Aug 9, 2021
f66ab14
Merge pull request #19 from Josimar16/structuring/backend
Josimar16 Aug 9, 2021
3137585
feat: :sparkles: Criando a interface do provider de CEP
Josimar16 Aug 9, 2021
de464c4
feat: :sparkles: Criando implementação do provider
Josimar16 Aug 9, 2021
7d7e303
feat: :sparkles: Criando implementação fake para os testes
Josimar16 Aug 9, 2021
fdef9d4
Merge pull request #20 from Josimar16/feature/implementation-viacep
Josimar16 Aug 9, 2021
575eba9
feat: :sparkles: Implementando teste de integração para autenticação
Josimar16 Aug 9, 2021
78bb2ab
feat: :sparkles: Implementando teste de integração para criar o usuario
Josimar16 Aug 9, 2021
772e123
refactor: :recycle: Refatorando o controller para diminuir os dados d…
Josimar16 Aug 9, 2021
2fd0040
refactor: :recycle: retirando os dados de localização
Josimar16 Aug 9, 2021
5a8f19a
refactor: :recycle: Retirando os dados de localização da request
Josimar16 Aug 9, 2021
760077e
refactor: :recycle: Retirando os dados de localização da request
Josimar16 Aug 9, 2021
8951c1a
feat: :sparkles: Adicionando um novo DTO para o useCase de criar a pr…
Josimar16 Aug 9, 2021
ddb86fa
feat: :sparkles: Adicionando um dto para os parametros de query
Josimar16 Aug 9, 2021
944f16c
refactor: :recycle: Retirando as propriedades de autenticação das rotas
Josimar16 Aug 9, 2021
868b931
feat: :sparkles: Adicionando paginação na listagem dos imoveis
Josimar16 Aug 9, 2021
e1365ea
refactor: :recycle: REfatorando a interface para receber os filtros
Josimar16 Aug 9, 2021
e88da83
feat: :sparkles: Colocando paginação no repositorio fake
Josimar16 Aug 9, 2021
3da0f0a
test: :white_check_mark: Alterando testes da listagem para retornar o…
Josimar16 Aug 9, 2021
3215fa4
feat: :sparkles: Alterando controller da listagem para retornar o total
Josimar16 Aug 9, 2021
72a43b7
test: :white_check_mark: Alterando testes da listagem para retornar o…
Josimar16 Aug 9, 2021
1b2e7ca
feat: :sparkles: Alterando useCase da listagem para retornar o total
Josimar16 Aug 9, 2021
5888460
feat: :sparkles: Atualizando o useCase de atualizar o imovel
Josimar16 Aug 9, 2021
54b6365
Merge pull request #21 from Josimar16/feature/implementation-viacep
Josimar16 Aug 9, 2021
4531e5e
Merge pull request #22 from Josimar16/feature/pagination
Josimar16 Aug 9, 2021
37e2c5a
Merge pull request #23 from Josimar16/feature/backend
Josimar16 Aug 9, 2021
5c4030d
feat: :sparkles: Iniciando projeto
Josimar16 Aug 9, 2021
d16d442
feat: :sparkles: Instalando o axios e instanciando basePath
Josimar16 Aug 9, 2021
cc1c309
feat: :sparkles: Criando instancia com os controllers
Josimar16 Aug 9, 2021
d92f7c2
feat: :sparkles: Instanciando as fonts do google
Josimar16 Aug 9, 2021
bfef5db
feat: :sparkles: Instanciando o axios para o context
Josimar16 Aug 9, 2021
18e9962
feat: :sparkles: Criando o client query para o react query
Josimar16 Aug 9, 2021
f8279bc
feat: :sparkles: Criando um banco fake com o miragejs
Josimar16 Aug 9, 2021
e6d4dea
style: :lipstick: Criando um arquivo theme para as cores
Josimar16 Aug 9, 2021
59aae36
feat: :sparkles: Criando arquivo de animações
Josimar16 Aug 9, 2021
2d0e9b8
feat: :sparkles: Criandon o componente de activelink
Josimar16 Aug 9, 2021
24a582a
feat: :sparkles: Criando o componente de button
Josimar16 Aug 9, 2021
f8f0d5c
feat: :sparkles: Criando o componente de can
Josimar16 Aug 9, 2021
3fc3a79
feat: :sparkles: Criando o componente de create property
Josimar16 Aug 9, 2021
192f9b0
feat: :sparkles: Criando o componente de modal
Josimar16 Aug 9, 2021
ab578f8
feat: :sparkles: Criando o componente de property item
Josimar16 Aug 9, 2021
4da6917
feat: :sparkles: Criando o componente de input
Josimar16 Aug 9, 2021
88d8c06
feat: :sparkles: Criando o componente de update property
Josimar16 Aug 9, 2021
1ae8701
feat: :sparkles: Criando o componente de header
Josimar16 Aug 9, 2021
8d8c67d
feat: :sparkles: Criando o componente de logo
Josimar16 Aug 9, 2021
711823c
feat: :sparkles: Criando o componente de notification nav
Josimar16 Aug 9, 2021
122d9bd
feat: :sparkles: Criando o componente de profile
Josimar16 Aug 9, 2021
96c5157
feat: :sparkles: Criando o componente de pagination
Josimar16 Aug 9, 2021
ae89ac5
feat: :sparkles: Criando o componente de pagination item
Josimar16 Aug 9, 2021
df61531
feat: :sparkles: Criando o componente de sidebar
Josimar16 Aug 9, 2021
48a8953
feat: :sparkles: Criando o componente de navlink
Josimar16 Aug 9, 2021
a99e128
feat: :sparkles: Criando o componente de nav section
Josimar16 Aug 9, 2021
7e70d76
feat: :sparkles: Criando o componente de sidebarnav
Josimar16 Aug 9, 2021
4f3d60d
Merge pull request #24 from Josimar16/feature/components
Josimar16 Aug 9, 2021
77b67df
feat: :sparkles: Criando o context de auth
Josimar16 Aug 9, 2021
20577d5
feat: :sparkles: Criando o context de can
Josimar16 Aug 9, 2021
6c94bc7
feat: :sparkles: Criando o context de modal
Josimar16 Aug 9, 2021
748b233
feat: :sparkles: Criando o context de sidebar
Josimar16 Aug 9, 2021
f110e02
feat: :sparkles: Criando o context de property
Josimar16 Aug 9, 2021
988de27
Merge pull request #25 from Josimar16/feature/context
Josimar16 Aug 9, 2021
25e2408
feat: :sparkles: Criando instancia de erro
Josimar16 Aug 9, 2021
9aa1e40
feat: :sparkles: Validando ssr para pagtina de visitantes
Josimar16 Aug 9, 2021
f7676c0
feat: :sparkles: Validando ssr para pagtina de autenticados
Josimar16 Aug 9, 2021
7184849
feat: :sparkles: Criando sistema de permissão
Josimar16 Aug 9, 2021
3f4d03a
feat: :sparkles: Criando função de formatação
Josimar16 Aug 9, 2021
bf4e5b1
Merge pull request #26 from Josimar16/feature/validation
Josimar16 Aug 9, 2021
a5fbb9f
feat: :sparkles: Criando tela de login
Josimar16 Aug 9, 2021
a8c8261
feat: :sparkles: Criando tela de signout
Josimar16 Aug 9, 2021
a354cad
feat: :sparkles: Criando tela de detalhes
Josimar16 Aug 9, 2021
7762a86
feat: :sparkles: Criando tela de lista
Josimar16 Aug 9, 2021
2181e1e
Merge pull request #27 from Josimar16/feature/pages
Josimar16 Aug 9, 2021
b219797
docs: :memo: Criando o readme de desenvolvimento
Josimar16 Aug 9, 2021
69d2193
Merge pull request #28 from Josimar16/feature/frontend
Josimar16 Aug 9, 2021
fafd499
Merge pull request #29 from Josimar16/feature/docs
Josimar16 Aug 9, 2021
6b26d1a
Merge pull request #30 from Josimar16/develop
Josimar16 Aug 9, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions backend/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules
.git
.vscode
3 changes: 3 additions & 0 deletions backend/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/*.js
node_modules
dist
87 changes: 87 additions & 0 deletions backend/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
{
"env": {
"es2021": true,
"node": true,
"jest": true
},
"extends": [
"airbnb-base",
"plugin:@typescript-eslint/recommended",
"prettier",
"plugin:prettier/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint",
"eslint-plugin-import-helpers",
"prettier"
],
"rules": {
"camelcase": "off",
"import/no-unresolved": "error",
"@typescript-eslint/naming-convention": [
"error",
{
"selector": "interface",
"format": [
"PascalCase"
],
"custom": {
"regex": "^I[A-Z]",
"match": true
}
}
],
"class-methods-use-this": "off",
"import/prefer-default-export": "off",
"no-shadow": "off",
"no-console": "off",
"no-useless-constructor": "off",
"no-empty-function": "off",
"lines-between-class-members": "off",
"import/extensions": [
"error",
"ignorePackages",
{
"ts": "never"
}
],
"import-helpers/order-imports": [
"warn",
{
"newlinesBetween": "always",
"groups": [
"module",
"/^@/",
[
"parent",
"sibling",
"index"
]
],
"alphabetize": {
"order": "asc",
"ignoreCase": true
}
}
],
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": [
"**/*.spec.js"
]
}
],
"prettier/prettier": "error"
},
"settings": {
"import/resolver": {
"typescript": {}
}
}
}
7 changes: 7 additions & 0 deletions backend/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
dist
node_modules
yarn.lock
.env
ormconfig.json
.vscode
coverage
1 change: 0 additions & 1 deletion backend/.gitkeep

This file was deleted.

13 changes: 13 additions & 0 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM node

WORKDIR /usr/app

COPY package.json ./

RUN npm install

COPY . .

EXPOSE 3333

CMD ["npm", "run", "dev"]
37 changes: 37 additions & 0 deletions backend/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
version: "3.7"

services:
database:
image: postgres
container_name: database_rentx
restart: always
ports:
- 5432:5432
environment:
- POSTGRES_USER=docker
- POSTGRES_PASSWORD=ignite
- POSTGRES_DB=rentx
volumes:
- pgdata:/data/postgres
networks:
- rentx

app:
build: .
container_name: rentx
restart: always
ports:
- 3333:3333
- 9229:9229
volumes:
- .:/usr/app
networks:
- rentx

volumes:
pgdata:
driver: local

networks:
rentx:
name: rentx-network
191 changes: 191 additions & 0 deletions backend/jest.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,191 @@
import { pathsToModuleNameMapper } from "ts-jest/utils";
import { compilerOptions } from "./tsconfig.json";

export default {
// All imported modules in your tests should be mocked automatically
// automock: false,

// Stop running tests after `n` failures
bail: true,

// The directory where Jest should store its cached dependency information
// cacheDirectory: "/tmp/jest_rs",

// Automatically clear mock calls and instances between every test
clearMocks: true,

// Indicates whether the coverage information should be collected while executing the test
collectCoverage: true,

// An array of glob patterns indicating a set of files for which coverage information should be collected
collectCoverageFrom: [
'<rootDir>/src/modules/**/useCases/**/*.ts'
],

// The directory where Jest should output its coverage files
coverageDirectory: 'coverage',

// An array of regexp pattern strings used to skip coverage collection
// coveragePathIgnorePatterns: [
// "/node_modules/"
// ],

// Indicates which provider should be used to instrument code for coverage
coverageProvider: "v8",

// A list of reporter names that Jest uses when writing coverage reports
coverageReporters: [
"text-summary",
"lcov",
],

// An object that configures minimum threshold enforcement for coverage results
// coverageThreshold: undefined,

// A path to a custom dependency extractor
// dependencyExtractor: undefined,

// Make calling deprecated APIs throw helpful error messages
// errorOnDeprecated: false,

// Force coverage collection from ignored files using an array of glob patterns
// forceCoverageMatch: [],

// A path to a module which exports an async function that is triggered once before all test suites
// globalSetup: undefined,

// A path to a module which exports an async function that is triggered once after all test suites
// globalTeardown: undefined,

// A set of global variables that need to be available in all test environments
// globals: {},

// The maximum amount of workers used to run your tests. Can be specified as % or a number. E.g. maxWorkers: 10% will use 10% of your CPU amount + 1 as the maximum worker number. maxWorkers: 2 will use a maximum of 2 workers.
// maxWorkers: "50%",

// An array of directory names to be searched recursively up from the requiring module's location
// moduleDirectories: [
// "node_modules"
// ],

// An array of file extensions your modules use
// moduleFileExtensions: [
// "js",
// "json",
// "jsx",
// "ts",
// "tsx",
// "node"
// ],

// A map from regular expressions to module names or to arrays of module names that allow to stub out resources with a single module
moduleNameMapper: pathsToModuleNameMapper(compilerOptions.paths, { prefix: "<rootDir>/src/" }),

// An array of regexp pattern strings, matched against all module paths before considered 'visible' to the module loader
// modulePathIgnorePatterns: [],

// Activates notifications for test results
// notify: false,

// An enum that specifies notification mode. Requires { notify: true }
// notifyMode: "failure-change",

// A preset that is used as a base for Jest's configuration
preset: "ts-jest",

// Run tests from one or more projects
// projects: undefined,

// Use this configuration option to add custom reporters to Jest
// reporters: undefined,

// Automatically reset mock state between every test
// resetMocks: false,

// Reset the module registry before running each individual test
// resetModules: false,

// A path to a custom resolver
// resolver: undefined,

// Automatically restore mock state between every test
// restoreMocks: false,

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

// A list of paths to directories that Jest should use to search for files in
// roots: [
// "<rootDir>"
// ],

// Allows you to use a custom runner instead of Jest's default test runner
// runner: "jest-runner",

// The paths to modules that run some code to configure or set up the testing environment before each test
// setupFiles: [],

// A list of paths to modules that run some code to configure or set up the testing framework before each test
// setupFilesAfterEnv: [],

// The number of seconds after which a test is considered as slow and reported as such in the results.
// slowTestThreshold: 5,

// A list of paths to snapshot serializer modules Jest should use for snapshot testing
// snapshotSerializers: [],

// The test environment that will be used for testing
testEnvironment: "node",

// Options that will be passed to the testEnvironment
// testEnvironmentOptions: {},

// Adds a location field to test results
// testLocationInResults: false,

// The glob patterns Jest uses to detect test files
testMatch: [
"**/*.spec.ts"
],

// An array of regexp pattern strings that are matched against all test paths, matched tests are skipped
// testPathIgnorePatterns: [
// "/node_modules/"
// ],

// The regexp pattern or array of patterns that Jest uses to detect test files
// testRegex: [],

// This option allows the use of a custom results processor
// testResultsProcessor: undefined,

// This option allows use of a custom test runner
// testRunner: "jasmine2",

// This option sets the URL for the jsdom environment. It is reflected in properties such as location.href
// testURL: "http://localhost",

// Setting this value to "fake" allows the use of fake timers for functions such as "setTimeout"
// timers: "real",

// A map from regular expressions to paths to transformers
// transform: undefined,

// An array of regexp pattern strings that are matched against all source file paths, matched files will skip transformation
// transformIgnorePatterns: [
// "/node_modules/",
// "\\.pnp\\.[^\\/]+$"
// ],

// An array of regexp pattern strings that are matched against all modules before the module loader will automatically return a mock for them
// unmockedModulePathPatterns: undefined,

// Indicates whether each individual test should be reported during the run
// verbose: undefined,

// An array of regexp patterns that are matched against all source file paths before re-running tests in watch mode
// watchPathIgnorePatterns: [],

// Whether to use watchman for file crawling
// watchman: true,
};
Loading