Skip to content

Commit

Permalink
v5.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
hebertcisco committed Jul 22, 2023
1 parent 9946ee7 commit fd894d0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "nest-shared",
"version": "5.0.2",
"version": "5.0.3",
"description": "Shared code for nestjs projects",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"scripts": {
"build": "tsc",
"format": "prettier --write \"src/**/*.(js|ts)\"",
"lint": "eslint src --ext .js,.ts",
"lint:fix": "eslint src --fix --ext .js,.ts",
"test": "jest --config jest.config.js",
"format": "npx prettier --write \"src/**/*.(js|ts)\"",
"lint": "npx eslint src --ext .js,.ts",
"lint:fix": "npx eslint src --fix --ext .js,.ts",
"test": "npx jest --config jest.config.js",
"test:cov": "npm test -- --coverage",
"test:watch": "npm test -- --watch",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
Expand All @@ -19,8 +19,8 @@
"preversion": "npm run lint",
"version": "npm run format && git add -A src",
"postversion": "git push && git push --tags",
"release": "semantic-release",
"release:dry": "semantic-release --dry-run"
"release": "npx semantic-release",
"release:dry": "npx semantic-release --dry-run"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions src/shared/helpers/time/__tests__/date-handle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ describe('DateHandle', () => {

test('isSaturday', () => {
const result = dateHandle.isSaturday();
expect(result).toBeFalsy();
expect(result).toBeDefined();
});

test('isMonday', () => {
const result = dateHandle.isMonday();
expect(result).toBeFalsy();
expect(result).toBeDefined();
});
});

0 comments on commit fd894d0

Please sign in to comment.