Skip to content

Commit c48a806

Browse files
remove copypasted comments
;
1 parent 6519c1b commit c48a806

File tree

1 file changed

+1
-18
lines changed

1 file changed

+1
-18
lines changed

smoke-test/tests/cypress/cypress/plugins/memoryUsage.js

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,9 @@
1-
/// <reference types="cypress" />
2-
// ***********************************************************
3-
// This example plugins/index.js can be used to load plugins
4-
//
5-
// You can change the location of this file or turn off loading
6-
// the plugins file with the 'pluginsFile' configuration option.
7-
//
8-
// You can read more here:
9-
// https://on.cypress.io/plugins-guide
10-
// ***********************************************************
11-
12-
// This function is called when a project is opened or re-opened (e.g. due to
13-
// the project's config changing)
14-
151
/**
162
* @type {Cypress.PluginConfig}
173
*/
184
// eslint-disable-next-line no-unused-vars
195
module.exports = (on, config) => {
20-
// `on` is used to hook into various events Cypress emits
21-
// `config` is the resolved Cypress config
22-
23-
// Add a task to log to the terminal
6+
// Add a task to log memory usage to the terminal
247
on("task", {
258
logMemoryUsage(browserMemoryUsage) {
269
const formatBytes = (bytes) =>

0 commit comments

Comments
 (0)