Skip to content
This repository has been archived by the owner on Mar 28, 2022. It is now read-only.

Commit

Permalink
feat: add mock-custom-routes-variants path
Browse files Browse the repository at this point in the history
  • Loading branch information
javierbrea committed Feb 14, 2021
1 parent b2de058 commit 20931f0
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Fixed
### Removed

## [2.0.0-beta.2] - 2021-02-14

### Added
- feat: Add mock-custom-routes-variants path

## [2.0.0-beta.1] - 2021-02-03

### Added
Expand Down
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export const ALERTS = "/alerts";
export const MOCKS = "/mocks";
export const ROUTES = "/routes";
export const ROUTES_VARIANTS = "/routes-variants";
export const MOCK_CUSTOM_ROUTES_VARIANTS = "/mock-custom-routes-variants";

export const LEGACY = "/legacy";
export const BEHAVIORS = "/behaviors";
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mocks-server/admin-api-paths",
"version": "2.0.0-beta.1",
"version": "2.0.0-beta.2",
"description": "Api paths of @mocks-server/plugin-admin-api",
"keywords": [
"administration",
Expand Down
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
sonar.organization=mocks-server
sonar.projectKey=mocks-server-admin-api-paths
sonar.projectVersion=2.0.0-beta.1
sonar.projectVersion=2.0.0-beta.2

sonar.javascript.file.suffixes=.js
sonar.sourceEncoding=UTF-8
Expand Down
5 changes: 5 additions & 0 deletions test/index.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import {
MOCKS,
ROUTES,
ROUTES_VARIANTS,
MOCK_CUSTOM_ROUTES_VARIANTS,
LEGACY,
BEHAVIORS,
FIXTURES,
Expand Down Expand Up @@ -40,6 +41,10 @@ describe("Exported paths", () => {
expect(ROUTES_VARIANTS).toBeDefined();
});

it("should contain the mock-custom-routes-variants path", () => {
expect(MOCK_CUSTOM_ROUTES_VARIANTS).toBeDefined();
});

it("should contain the legacy path", () => {
expect(LEGACY).toBeDefined();
});
Expand Down

0 comments on commit 20931f0

Please sign in to comment.