"use strict";

function _bluebird() {
  const data = require("bluebird");

  _bluebird = function () {
    return data;
  };

  return data;
}

function _chai() {
  const data = require("chai");

  _chai = function () {
    return data;
  };

  return data;
}

function _autoTag() {
  const data = require("./auto-tag");

  _autoTag = function () {
    return data;
  };

  return data;
}

describe('AutoTag', () => {
  describe('getAutoTagPending', () => {
    it('should return an empty array when there are no components in the scope',
    /*#__PURE__*/
    (0, _bluebird().coroutine)(function* () {
      const scope = {
        getComponentsAndVersions: () => Promise.resolve([])
      };
      const test = yield (0, _autoTag().getAutoTagPending)(scope, [], []);
      (0, _chai().expect)(test).to.be.an('array').and.empty;
    }));
  });
});