-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from AlexandreBellas/feature/update-api-versio…
…n-to-v3 feat: atualizar para API v3
- Loading branch information
Showing
477 changed files
with
15,793 additions
and
6,664 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: On commit => execute test workflow | ||
|
||
on: push | ||
|
||
jobs: | ||
unit-feature-tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 20 | ||
|
||
- name: Install dependencies | ||
run: npm install | ||
|
||
- name: Build project | ||
run: npm run build | ||
|
||
- name: Execute tests | ||
run: npm run test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"trailingComma": "none", | ||
"tabWidth": 2, | ||
"semi": false, | ||
"singleQuote": true | ||
} | ||
"trailingComma": "none", | ||
"tabWidth": 2, | ||
"semi": false, | ||
"singleQuote": true | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"material-icon-theme.folders.associations": { | ||
"@shared": "Shared", | ||
"exceptions": "Error" | ||
}, | ||
"cSpell.words": [ | ||
"aliquota", | ||
"Amazônia", | ||
"borderô", | ||
"Borderos", | ||
"borderôs", | ||
"Contabeis", | ||
"Contábeis", | ||
"Contabil", | ||
"contábil", | ||
"CONTRAN", | ||
"customizado", | ||
"Customizados", | ||
"Eletrônicas", | ||
"Frotista", | ||
"ICMS", | ||
"ICMSST", | ||
"ICRT", | ||
"intermediador", | ||
"nfces", | ||
"Parcelada", | ||
"pickone", | ||
"Rastreamento", | ||
"sublimite", | ||
"SUFRAMA" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import type { Config } from 'jest' | ||
import { pathsToModuleNameMapper } from 'ts-jest' | ||
import { compilerOptions } from './tsconfig.json' | ||
|
||
const config: Config = { | ||
transform: { | ||
'^.+\\.(t|j)sx?$': 'ts-jest' | ||
}, | ||
testRegex: '(/test/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$', | ||
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'], | ||
transformIgnorePatterns: [ | ||
'/node_modules/', | ||
'\\.pnp\\.[^\\/]+$', | ||
'/coverage/' | ||
], | ||
testPathIgnorePatterns: ['<rootDir>/lib/'], | ||
moduleNameMapper: pathsToModuleNameMapper(compilerOptions.paths, { | ||
prefix: '<rootDir>/' | ||
}), | ||
maxWorkers: 1, | ||
maxConcurrency: 2, | ||
collectCoverageFrom: ['**/*.(t|j)s'], | ||
coveragePathIgnorePatterns: ['/coverage/', 'jest.config.ts', '/lib/'], | ||
coverageDirectory: './coverage' | ||
} | ||
|
||
export default config |
Oops, something went wrong.