Skip to content

Commit

Permalink
rename from e2e to integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JaKXz committed Jun 13, 2021
1 parent f691dbc commit 305649f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
"test:aliases": "mocha tests/aliases-test.js",
"test:core": "mocha tests/core/**/*.js",
"test:dependencies": "mocha tests/dependencies-test.js",
"test:e2e": "mocha tests/e2e/*.js",
"test:integration": "mocha tests/integration/*.js",
"test:examples": "mocha tests/examples-test.js",
"test:identifiers": "mocha tests/identifier-test.js",
"test:languages": "mocha tests/run.js",
"test:patterns": "mocha tests/pattern-tests.js",
"test:plugins": "mocha tests/plugins/**/*.js",
"test:runner": "mocha tests/testrunner-tests.js",
"test": "npm run test:runner && npm run test:core && npm run test:dependencies && npm run test:languages && npm run test:plugins && npm run test:aliases && npm run test:patterns && npm run test:examples && npm run test:identifiers && npm run test:e2e"
"test": "npm run test:runner && npm run test:core && npm run test:dependencies && npm run test:languages && npm run test:plugins && npm run test:aliases && npm run test:patterns && npm run test:examples && npm run test:identifiers && npm run test:integration"
},
"repository": {
"type": "git",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`prism-graphql E2E tests - graphql+highlight-keywords #highlights { correctly 1`] = `
exports[`graphql+highlight-keywords integration test #highlights { correctly 1`] = `
<span class="token punctuation">
{
</span>
Expand Down Expand Up @@ -75,7 +75,7 @@ exports[`prism-graphql E2E tests - graphql+highlight-keywords #highlights { corr
</span>
`;
exports[`prism-graphql E2E tests - graphql+highlight-keywords #highlights input OrderInput { correctly 1`] = `
exports[`graphql+highlight-keywords integration test #highlights input OrderInput { correctly 1`] = `
<span class="token keyword keyword-input">
input
</span>
Expand Down Expand Up @@ -204,7 +204,7 @@ exports[`prism-graphql E2E tests - graphql+highlight-keywords #highlights input
</span>
`;
exports[`prism-graphql E2E tests - graphql+highlight-keywords #highlights mutation { correctly 1`] = `
exports[`graphql+highlight-keywords integration test #highlights mutation { correctly 1`] = `
<span class="token keyword keyword-mutation">
mutation
</span>
Expand Down Expand Up @@ -288,7 +288,7 @@ exports[`prism-graphql E2E tests - graphql+highlight-keywords #highlights mutati
</span>
`;
exports[`prism-graphql E2E tests - graphql+highlight-keywords #highlights mutation BookTrip($id:ID!) { correctly 1`] = `
exports[`graphql+highlight-keywords integration test #highlights mutation BookTrip($id:ID!) { correctly 1`] = `
<span class="token keyword keyword-mutation">
mutation
</span>
Expand Down Expand Up @@ -369,7 +369,7 @@ exports[`prism-graphql E2E tests - graphql+highlight-keywords #highlights mutati
</span>
`;
exports[`prism-graphql E2E tests - graphql+highlight-keywords #highlights mutation Login($email: String) { correctly 1`] = `
exports[`graphql+highlight-keywords integration test #highlights mutation Login($email: String) { correctly 1`] = `
<span class="token keyword keyword-mutation">
mutation
</span>
Expand Down Expand Up @@ -417,7 +417,7 @@ exports[`prism-graphql E2E tests - graphql+highlight-keywords #highlights mutati
</span>
`;
exports[`prism-graphql E2E tests - graphql+highlight-keywords #highlights mutation orderUpdate($input: OrderInput!) { correctly 1`] = `
exports[`graphql+highlight-keywords integration test #highlights mutation orderUpdate($input: OrderInput!) { correctly 1`] = `
<span class="token keyword keyword-mutation">
mutation
</span>
Expand Down Expand Up @@ -501,7 +501,7 @@ exports[`prism-graphql E2E tests - graphql+highlight-keywords #highlights mutati
</span>
`;
exports[`prism-graphql E2E tests - graphql+highlight-keywords #highlights query getProductById($id: ID!) { correctly 1`] = `
exports[`graphql+highlight-keywords integration test #highlights query getProductById($id: ID!) { correctly 1`] = `
<span class="token keyword keyword-query">
query
</span>
Expand Down Expand Up @@ -567,7 +567,7 @@ exports[`prism-graphql E2E tests - graphql+highlight-keywords #highlights query
</span>
`;
exports[`prism-graphql E2E tests - graphql+highlight-keywords #highlights type Human implements Character { correctly 1`] = `
exports[`graphql+highlight-keywords integration test #highlights type Human implements Character { correctly 1`] = `
<span class="token keyword keyword-type">
type
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const prismFactory = require('../helper/prism-loader');
const components = ['graphql', 'highlight-keywords'];
const Prism = prismFactory.createInstance(components);

describe(`prism-graphql E2E tests - ${components.join('+')}`, () => {
describe(`${components.join('+')} integration test`, () => {
require('../languages/graphql/fixtures').forEach((code) => {
const [title] = code.trim().split('\n');
it(`#highlights ${title} correctly`, () => {
Expand Down

0 comments on commit 305649f

Please sign in to comment.