Skip to content

Commit

Permalink
fix: test issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mwear committed Feb 26, 2020
1 parent 2274625 commit b10bcb7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
* limitations under the License.
*/

import * as assert from 'assert';
import { Resource } from '../src/Resource';
import {
CLOUD_RESOURCE,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ const assertHasOneLabel = (
resource: Resource
): void => {
const hasOne = Object.values(constants).reduce(
(found, key) => found || resource.labels[key],
(found, key) => found || resource.labels.hasOwnProperty(key),
false
);
assert.ok(
Expand Down

0 comments on commit b10bcb7

Please sign in to comment.