1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
/* global add_heuristic_tests */
"use strict";
add_heuristic_tests(
[
{
fixturePath: "index.html",
expectedResult: [
{
default: {
reason: "fathom",
},
fields: [
{ fieldName: "cc-name" },
{ fieldName: "cc-number" },
],
},
{
fields: [
{ fieldName: "cc-number", reason: "autocomplete" },
{ fieldName: "cc-name", reason: "fathom" },
{ fieldName: "cc-exp-month", reason: "regex-heuristic" },
{ fieldName: "cc-exp-year", reason: "regex-heuristic" },
],
},
],
},
],
"fixtures/third_party/Lush/"
);
|