chore: passing tests

This commit is contained in:
James
2023-01-04 12:46:18 -05:00
parent f4d20a9aed
commit 5fae18e940
4 changed files with 4 additions and 3 deletions

View File

@@ -21,6 +21,7 @@ process.env.PAYLOAD_CONFIG_PATH = configPath;
process.env.PAYLOAD_DROP_DATABASE = 'true';
swcRegister({
sourceMaps: true,
jsc: {
parser: {
syntax: 'typescript',

View File

@@ -1,12 +1,11 @@
/* eslint-disable @typescript-eslint/no-explicit-any */
import qs from 'qs';
import fetch from 'node-fetch';
import type { Config } from '../../src/config/types';
import type { PaginatedDocs } from '../../src/mongoose/types';
import type { Where } from '../../src/types';
import { devUser } from '../credentials';
require('isomorphic-fetch');
type Args = {
serverURL: string;
defaultSlug: string;