This repository has been archived by the owner on Mar 28, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
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 #105 from mocks-server/release
Release v2.0.0
- Loading branch information
Showing
7 changed files
with
4,181 additions
and
6,730 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ on: | |
branches: | ||
- master | ||
- release | ||
- pre-release | ||
pull_request: | ||
jobs: | ||
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
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,13 @@ | ||
export const DEFAULT_BASE_PATH = "/admin"; | ||
export const SETTINGS = "/settings"; | ||
export const BEHAVIORS = "/behaviors"; | ||
export const FIXTURES = "/fixtures"; | ||
export const ABOUT = "/about"; | ||
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"; | ||
export const FIXTURES = "/fixtures"; |
Large diffs are not rendered by default.
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
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 |
---|---|---|
@@ -1,23 +1,59 @@ | ||
import { DEFAULT_BASE_PATH, SETTINGS, BEHAVIORS, FIXTURES, ABOUT } from "../index"; | ||
import { | ||
DEFAULT_BASE_PATH, | ||
ABOUT, | ||
SETTINGS, | ||
ALERTS, | ||
MOCKS, | ||
ROUTES, | ||
ROUTES_VARIANTS, | ||
MOCK_CUSTOM_ROUTES_VARIANTS, | ||
LEGACY, | ||
BEHAVIORS, | ||
FIXTURES, | ||
} from "../index"; | ||
|
||
describe("Exported paths", () => { | ||
it("should contain the default api base path", () => { | ||
expect(DEFAULT_BASE_PATH).toBeDefined(); | ||
}); | ||
|
||
it("should contain the about path", () => { | ||
expect(ABOUT).toBeDefined(); | ||
}); | ||
|
||
it("should contain the settings path", () => { | ||
expect(SETTINGS).toBeDefined(); | ||
}); | ||
|
||
it("should contain the alerts path", () => { | ||
expect(ALERTS).toBeDefined(); | ||
}); | ||
|
||
it("should contain the mocks path", () => { | ||
expect(MOCKS).toBeDefined(); | ||
}); | ||
|
||
it("should contain the routes path", () => { | ||
expect(ROUTES).toBeDefined(); | ||
}); | ||
|
||
it("should contain the routes-variants path", () => { | ||
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(); | ||
}); | ||
|
||
it("should contain the behaviors path", () => { | ||
expect(BEHAVIORS).toBeDefined(); | ||
}); | ||
|
||
it("should contain the fixtures path", () => { | ||
expect(FIXTURES).toBeDefined(); | ||
}); | ||
|
||
it("should contain the about path", () => { | ||
expect(ABOUT).toBeDefined(); | ||
}); | ||
}); |