Skip to content

Commit

Permalink
Merge pull request #78 from babbel/dependabot/npm_and_yarn/octokit/pl…
Browse files Browse the repository at this point in the history
…ugin-paginate-graphql-5.1.0

Bump @octokit/plugin-paginate-graphql from 4.0.0 to 5.1.0
  • Loading branch information
awendt authored Mar 14, 2024
2 parents 60ccc59 + 2fedcf6 commit a73c938
Show file tree
Hide file tree
Showing 5 changed files with 10,591 additions and 9,497 deletions.
4 changes: 2 additions & 2 deletions __tests__/apiwrapper.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { Octokit } from '@octokit/core'; // eslint-disable-line import/no-extraneous-dependencies
import { paginateGraphql } from '@octokit/plugin-paginate-graphql';
import { paginateGraphQL } from '@octokit/plugin-paginate-graphql';

import { graphql, HttpResponse } from 'msw'; // https://mswjs.io/docs/getting-started/mocks/graphql-api
import { setupServer } from 'msw/node'; // https://mswjs.io/docs/getting-started/integrate/node

import { ApiWrapper } from '../apiwrapper';

const GraphQlOctokit = Octokit.plugin(paginateGraphql);
const GraphQlOctokit = Octokit.plugin(paginateGraphQL);
const octokit = new GraphQlOctokit({ auth: 'fake-token-value' }); // don't use default GITHUB_TOKEN token from env

const apiWrapper = new ApiWrapper({ octokit });
Expand Down
4 changes: 2 additions & 2 deletions __tests__/integration.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { Octokit } from '@octokit/core'; // eslint-disable-line import/no-extraneous-dependencies
import { paginateGraphql } from '@octokit/plugin-paginate-graphql';
import { paginateGraphQL } from '@octokit/plugin-paginate-graphql';

import { graphql, HttpResponse } from 'msw'; // https://mswjs.io/docs/getting-started/mocks/graphql-api
import { setupServer } from 'msw/node'; // https://mswjs.io/docs/getting-started/integrate/node

import { ApiWrapper } from '../apiwrapper';
import { RepositoryProjectsManager } from '../projects.js'; // eslint-disable-line import/extensions

const GraphQlOctokit = Octokit.plugin(paginateGraphql);
const GraphQlOctokit = Octokit.plugin(paginateGraphQL);
const octokit = new GraphQlOctokit({ auth: 'fake-token-value' }); // don't use default GITHUB_TOKEN token from env

const apiWrapper = new ApiWrapper({ octokit });
Expand Down
Loading

0 comments on commit a73c938

Please sign in to comment.