twitch-graphql
Version:
A graphql wrapper for the Twitch API.
66 lines (65 loc) • 3.61 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var index_1 = require("./index");
describe('npm package', function () {
it('everything should exist', function () {
expect(index_1.GameModule).toBeTruthy();
expect(index_1.GameResolvers).toBeTruthy();
expect(index_1.GameSchema).toBeTruthy();
expect(index_1.SubscriberModule).toBeTruthy();
expect(index_1.SubscriberResolvers).toBeTruthy();
expect(index_1.SubscriberSchema).toBeTruthy();
expect(index_1.StreamModule).toBeTruthy();
expect(index_1.StreamResolvers).toBeTruthy();
expect(index_1.StreamSchema).toBeTruthy();
expect(index_1.UserModule).toBeTruthy();
expect(index_1.UserResolvers).toBeTruthy();
expect(index_1.UserSchema).toBeTruthy();
expect(index_1.QueryModule).toBeTruthy();
expect(index_1.QueryResolvers).toBeTruthy();
expect(index_1.QuerySchema).toBeTruthy();
expect(index_1.UserSubscriberLinkModule).toBeTruthy();
expect(index_1.UserSubscriberLinkResolvers).toBeTruthy();
expect(index_1.UserSubscriberLinkSchema).toBeTruthy();
expect(index_1.GameStreamLinkModule).toBeTruthy();
expect(index_1.GameStreamLinkResolvers).toBeTruthy();
expect(index_1.GameStreamLinkSchema).toBeTruthy();
expect(index_1.StreamUserLinkModule).toBeTruthy();
expect(index_1.StreamUserLinkResolvers).toBeTruthy();
expect(index_1.StreamUserLinkSchema).toBeTruthy();
expect(index_1.RedemptionUserLinkModule).toBeTruthy();
expect(index_1.RedemptionUserLinkResolvers).toBeTruthy();
expect(index_1.RedemptionUserLinkSchema).toBeTruthy();
expect(index_1.RedemptionPubSubModule).toBeTruthy();
expect(index_1.RedemptionPubSubResolvers).toBeTruthy();
expect(index_1.RedemptionPubSubSchema).toBeTruthy();
expect(index_1.ChatPubSubModule).toBeTruthy();
expect(index_1.ChatPubSubResolvers).toBeTruthy();
expect(index_1.ChatPubSubSchema).toBeTruthy();
expect(index_1.ChatUserLinkModule).toBeTruthy();
expect(index_1.ChatUserLinkResolvers).toBeTruthy();
expect(index_1.ChatUserLinkSchema).toBeTruthy();
expect(index_1.BitPubSubModule).toBeTruthy();
expect(index_1.BitPubSubResolvers).toBeTruthy();
expect(index_1.BitPubSubSchema).toBeTruthy();
expect(index_1.BitUserLinkModule).toBeTruthy();
expect(index_1.BitUserLinkResolvers).toBeTruthy();
expect(index_1.BitUserLinkSchema).toBeTruthy();
expect(index_1.SubscriptionPubSubModule).toBeTruthy();
expect(index_1.SubscriptionPubSubResolvers).toBeTruthy();
expect(index_1.SubscriptionPubSubSchema).toBeTruthy();
expect(index_1.SubscriptionPubSubUserLinkModule).toBeTruthy();
expect(index_1.SubscriptionPubSubUserLinkResolvers).toBeTruthy();
expect(index_1.SubscriptionPubSubUserLinkSchema).toBeTruthy();
expect(index_1.SubscriptionPubSubChatLinkModule).toBeTruthy();
expect(index_1.SubscriptionPubSubChatLinkSchema).toBeTruthy();
expect(index_1.onConnect).toBeTruthy();
expect(index_1.context).toBeTruthy();
expect(index_1.FollowPubSubUserLinkModule).toBeTruthy();
expect(index_1.FollowPubSubUserLinkResolvers).toBeTruthy();
expect(index_1.FollowPubSubUserLinkSchema).toBeTruthy();
expect(index_1.FollowPubSubModule).toBeTruthy();
expect(index_1.FollowPubSubResolvers).toBeTruthy();
expect(index_1.FollowPubSubSchema).toBeTruthy();
});
});