Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
// @flow
import { request } from '../../utils';
it('should fetch a thread', async () => {
const query = /* GraphQL */ `
{
thread(id: "thread-1") {
id
createdAt
modifiedAt
lastActive
isPublished
isLocked
type
content {
title
}
}
}
`;
expect.hasAssertions();
const result = await request(query);
expect(result).toMatchSnapshot();
});