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 6d2fad0
Showing 1 changed file 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 Expand Up @@ -248,7 +247,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 6d2fad0

Please sign in to comment.