Skip to content

Commit

Permalink
Add jsdoc pluginsfile (#354)
Browse files Browse the repository at this point in the history
* lowercase reference types

* add jsdoc to pluginsFile for type-completions

* trigger ci

Co-authored-by: Gleb Bahmutov <[email protected]>
  • Loading branch information
kuceb and bahmutov authored Feb 5, 2020
1 parent 3506918 commit 035fa6c
Show file tree
Hide file tree
Showing 20 changed files with 23 additions and 19 deletions.
2 changes: 1 addition & 1 deletion cypress/integration/examples/actions.spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference types="Cypress" />
/// <reference types="cypress" />

context('Actions', () => {
beforeEach(() => {
Expand Down
2 changes: 1 addition & 1 deletion cypress/integration/examples/aliasing.spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference types="Cypress" />
/// <reference types="cypress" />

context('Aliasing', () => {
beforeEach(() => {
Expand Down
2 changes: 1 addition & 1 deletion cypress/integration/examples/assertions.spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference types="Cypress" />
/// <reference types="cypress" />

context('Assertions', () => {
beforeEach(() => {
Expand Down
2 changes: 1 addition & 1 deletion cypress/integration/examples/connectors.spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference types="Cypress" />
/// <reference types="cypress" />

context('Connectors', () => {
beforeEach(() => {
Expand Down
2 changes: 1 addition & 1 deletion cypress/integration/examples/cookies.spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference types="Cypress" />
/// <reference types="cypress" />

context('Cookies', () => {
beforeEach(() => {
Expand Down
2 changes: 1 addition & 1 deletion cypress/integration/examples/cypress_api.spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference types="Cypress" />
/// <reference types="cypress" />

context('Cypress.Commands', () => {
beforeEach(() => {
Expand Down
2 changes: 1 addition & 1 deletion cypress/integration/examples/files.spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference types="Cypress" />
/// <reference types="cypress" />

/// JSON fixture file can be loaded directly using
// the built-in JavaScript bundler
Expand Down
2 changes: 1 addition & 1 deletion cypress/integration/examples/local_storage.spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference types="Cypress" />
/// <reference types="cypress" />

context('Local Storage', () => {
beforeEach(() => {
Expand Down
2 changes: 1 addition & 1 deletion cypress/integration/examples/location.spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference types="Cypress" />
/// <reference types="cypress" />

context('Location', () => {
beforeEach(() => {
Expand Down
2 changes: 1 addition & 1 deletion cypress/integration/examples/misc.spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference types="Cypress" />
/// <reference types="cypress" />

context('Misc', () => {
beforeEach(() => {
Expand Down
2 changes: 1 addition & 1 deletion cypress/integration/examples/navigation.spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference types="Cypress" />
/// <reference types="cypress" />

context('Navigation', () => {
beforeEach(() => {
Expand Down
2 changes: 1 addition & 1 deletion cypress/integration/examples/network_requests.spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference types="Cypress" />
/// <reference types="cypress" />

context('Network Requests', () => {
beforeEach(() => {
Expand Down
2 changes: 1 addition & 1 deletion cypress/integration/examples/querying.spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference types="Cypress" />
/// <reference types="cypress" />

context('Querying', () => {
beforeEach(() => {
Expand Down
2 changes: 1 addition & 1 deletion cypress/integration/examples/spies_stubs_clocks.spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference types="Cypress" />
/// <reference types="cypress" />

context('Spies, Stubs, and Clock', () => {
it('cy.spy() - wrap a method in a spy', () => {
Expand Down
2 changes: 1 addition & 1 deletion cypress/integration/examples/traversal.spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference types="Cypress" />
/// <reference types="cypress" />

context('Traversal', () => {
beforeEach(() => {
Expand Down
2 changes: 1 addition & 1 deletion cypress/integration/examples/utilities.spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference types="Cypress" />
/// <reference types="cypress" />

context('Utilities', () => {
beforeEach(() => {
Expand Down
2 changes: 1 addition & 1 deletion cypress/integration/examples/viewport.spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference types="Cypress" />
/// <reference types="cypress" />

context('Viewport', () => {
beforeEach(() => {
Expand Down
2 changes: 1 addition & 1 deletion cypress/integration/examples/waiting.spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference types="Cypress" />
/// <reference types="cypress" />

context('Waiting', () => {
beforeEach(() => {
Expand Down
2 changes: 1 addition & 1 deletion cypress/integration/examples/window.spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference types="Cypress" />
/// <reference types="cypress" />

context('Window', () => {
beforeEach(() => {
Expand Down
4 changes: 4 additions & 0 deletions cypress/plugins/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/// <reference types="cypress" />
// ***********************************************************
// This example plugins/index.js can be used to load plugins
//
Expand All @@ -11,6 +12,9 @@
// This function is called when a project is opened or re-opened (e.g. due to
// the project's config changing)

/**
* @type {Cypress.PluginConfig}
*/
// eslint-disable-next-line no-unused-vars
module.exports = (on, config) => {
// `on` is used to hook into various events Cypress emits
Expand Down

0 comments on commit 035fa6c

Please sign in to comment.