Skip to content

Commit

Permalink
test(handler): removed useless tests
Browse files Browse the repository at this point in the history
  • Loading branch information
robertLichtnow committed Jan 21, 2020
1 parent aed24fd commit 08349e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 22 deletions.
20 changes: 0 additions & 20 deletions src/__tests__/rules/rule-handlers.spec.ts

This file was deleted.

5 changes: 3 additions & 2 deletions src/rules/rule-handlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ import {
mustContainServerURL,
mustContainPort,
noSingularResource,
mustContainVersion
mustContainVersion,
mustContainDomainAndContext
} from './handlers';

/**
Expand All @@ -19,7 +20,7 @@ export type RuleHandlers = {
* Object containing all the rule handlers
*/
export const Handlers: RuleHandlers = {
"must-contain-domain-and-context": (api, ruleFaults) => { return; },
"must-contain-domain-and-context": mustContainDomainAndContext,
"must-contain-server-url": mustContainServerURL,
"must-contain-port": mustContainPort,
"must-contain-version": mustContainVersion,
Expand Down

0 comments on commit 08349e5

Please sign in to comment.