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

Commit 20931f0

Browse files
committed
feat: add mock-custom-routes-variants path
1 parent b2de058 commit 20931f0

File tree

6 files changed

+14
-3
lines changed

6 files changed

+14
-3
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1010
### Fixed
1111
### Removed
1212

13+
## [2.0.0-beta.2] - 2021-02-14
14+
15+
### Added
16+
- feat: Add mock-custom-routes-variants path
17+
1318
## [2.0.0-beta.1] - 2021-02-03
1419

1520
### Added

index.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ export const ALERTS = "/alerts";
66
export const MOCKS = "/mocks";
77
export const ROUTES = "/routes";
88
export const ROUTES_VARIANTS = "/routes-variants";
9+
export const MOCK_CUSTOM_ROUTES_VARIANTS = "/mock-custom-routes-variants";
910

1011
export const LEGACY = "/legacy";
1112
export const BEHAVIORS = "/behaviors";

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mocks-server/admin-api-paths",
3-
"version": "2.0.0-beta.1",
3+
"version": "2.0.0-beta.2",
44
"description": "Api paths of @mocks-server/plugin-admin-api",
55
"keywords": [
66
"administration",

sonar-project.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
sonar.organization=mocks-server
22
sonar.projectKey=mocks-server-admin-api-paths
3-
sonar.projectVersion=2.0.0-beta.1
3+
sonar.projectVersion=2.0.0-beta.2
44

55
sonar.javascript.file.suffixes=.js
66
sonar.sourceEncoding=UTF-8

test/index.spec.js

+5
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import {
66
MOCKS,
77
ROUTES,
88
ROUTES_VARIANTS,
9+
MOCK_CUSTOM_ROUTES_VARIANTS,
910
LEGACY,
1011
BEHAVIORS,
1112
FIXTURES,
@@ -40,6 +41,10 @@ describe("Exported paths", () => {
4041
expect(ROUTES_VARIANTS).toBeDefined();
4142
});
4243

44+
it("should contain the mock-custom-routes-variants path", () => {
45+
expect(MOCK_CUSTOM_ROUTES_VARIANTS).toBeDefined();
46+
});
47+
4348
it("should contain the legacy path", () => {
4449
expect(LEGACY).toBeDefined();
4550
});

0 commit comments

Comments
 (0)