mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-03-11 17:23:41 +00:00
feat: tests
This commit is contained in:
@@ -13,9 +13,7 @@
|
||||
* this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
import {Api} from '@openstapps/gitlab-api';
|
||||
import {Logger} from '@openstapps/logger';
|
||||
import {AddLogLevel} from '@openstapps/logger/lib/transformations/add-log-level.js';
|
||||
import {Colorize} from '@openstapps/logger/lib/transformations/colorize.js';
|
||||
import {Logger, AddLogLevel, Colorize} from '@openstapps/logger';
|
||||
import {Command} from 'commander';
|
||||
import {existsSync, readFileSync} from 'fs';
|
||||
import path from 'path';
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
* You should have received a copy of the GNU General Public License along with
|
||||
* this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
import {Label} from '@openstapps/gitlab-api/lib/types.js';
|
||||
import {Label} from '@openstapps/gitlab-api';
|
||||
import setHours from 'date-fns/setHours';
|
||||
import nextThursday from 'date-fns/nextThursday';
|
||||
import previousThursday from 'date-fns/previousThursday';
|
||||
|
||||
@@ -12,15 +12,15 @@
|
||||
* You should have received a copy of the GNU General Public License along with
|
||||
* this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
import {Api} from '@openstapps/gitlab-api';
|
||||
import {
|
||||
Api,
|
||||
AccessLevel,
|
||||
MembershipScope,
|
||||
MergeRequestMergeStatus,
|
||||
MergeRequestState,
|
||||
Scope,
|
||||
User,
|
||||
} from '@openstapps/gitlab-api/lib/types.js';
|
||||
} from '@openstapps/gitlab-api';
|
||||
import {Logger} from '@openstapps/logger';
|
||||
import {WebClient} from '@slack/web-api';
|
||||
import {GROUPS, MAX_DEPTH_FOR_REMINDER, NOTE_PREFIX, SLACK_CHANNEL} from '../configuration.js';
|
||||
|
||||
@@ -12,15 +12,15 @@
|
||||
* You should have received a copy of the GNU General Public License along with
|
||||
* this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
import {Api} from '@openstapps/gitlab-api';
|
||||
import {
|
||||
Api,
|
||||
Issue,
|
||||
IssueState,
|
||||
MembershipScope,
|
||||
MergeRequestState,
|
||||
Project,
|
||||
User,
|
||||
} from '@openstapps/gitlab-api/lib/types.js';
|
||||
} from '@openstapps/gitlab-api';
|
||||
import {Logger} from '@openstapps/logger';
|
||||
import mustache from 'mustache';
|
||||
import path from 'path';
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
* You should have received a copy of the GNU General Public License along with
|
||||
* this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
import {Api} from '@openstapps/gitlab-api';
|
||||
import {
|
||||
Api,
|
||||
AccessLevel,
|
||||
IssueState,
|
||||
MembershipScope,
|
||||
@@ -21,7 +21,7 @@ import {
|
||||
Milestone,
|
||||
Project,
|
||||
Scope,
|
||||
} from '@openstapps/gitlab-api/lib/types.js';
|
||||
} from '@openstapps/gitlab-api';
|
||||
import {Logger} from '@openstapps/logger';
|
||||
import {getProjects} from '../common.js';
|
||||
import {
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
* You should have received a copy of the GNU General Public License along with
|
||||
* this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
import {Api} from '@openstapps/gitlab-api';
|
||||
import {IssueState, Scope} from '@openstapps/gitlab-api/lib/types.js';
|
||||
import {Api, IssueState, Scope} from '@openstapps/gitlab-api';
|
||||
import {Logger} from '@openstapps/logger';
|
||||
import {GROUPS, LAST_MEETING, NOTE_PREFIX} from '../configuration.js';
|
||||
import isBefore from 'date-fns/isBefore';
|
||||
|
||||
Reference in New Issue
Block a user