File tree Expand file tree Collapse file tree 1 file changed +1
-18
lines changed
smoke-test/tests/cypress/cypress/plugins Expand file tree Collapse file tree 1 file changed +1
-18
lines changed Original file line number Diff line number Diff line change 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
195module . 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 ) =>
You can’t perform that action at this time.
0 commit comments