Passed
Pull Request — develop (#119)
by
unknown
01:38
created

functionnal_tests/cypress/plugins/index.js   A

Complexity

Total Complexity 1
Complexity/F 1

Size

Lines of Code 4
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 0
wmc 1
eloc 2
nc 1
mnd 0
bc 1
fnc 1
dl 0
loc 4
rs 10
bpm 1
cpm 1
noi 2
c 0
b 0
f 0
1
// ***********************************************************
2
// This example plugins/index.js can be used to load plugins
3
//
4
// You can change the location of this file or turn off loading
5
// the plugins file with the 'pluginsFile' configuration option.
6
//
7
// You can read more here:
8
// https://on.cypress.io/plugins-guide
9
// ***********************************************************
10
11
// This function is called when a project is opened or re-opened (e.g. due to
12
// the project's config changing)
13
14
module.exports = (on, config) => {
0 ignored issues
show
Unused Code introduced by
The parameter config is not used and could be removed.

This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.

Loading history...
Unused Code introduced by
The parameter on is not used and could be removed.

This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.

Loading history...
15
  // `on` is used to hook into various events Cypress emits
16
  // `config` is the resolved Cypress config
17
}
18