Skip to content

Commit

Permalink
Merge pull request #14 from natura-cosmeticos/test/removing-useless-t…
Browse files Browse the repository at this point in the history
…ests

test(handler): removed useless tests
  • Loading branch information
robertLichtnow authored Jan 20, 2020
2 parents aed24fd + 08349e5 commit a9bab2d
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 a9bab2d

Please sign in to comment.