Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
MIME Normalizer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Code
JS Toolbox
MIME Normalizer
Commits
3a42af8d
Commit
3a42af8d
authored
4 years ago
by
Igor Markin
Browse files
Options
Downloads
Patches
Plain Diff
Cover gmail-gmail plain cases
parent
2ba436f9
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!3
Fix normalisation cases
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
__tests__/html-gmail-gmail.test.ts
+1
-1
1 addition, 1 deletion
__tests__/html-gmail-gmail.test.ts
__tests__/plain-gmail-gmail.test.ts
+12
-0
12 additions, 0 deletions
__tests__/plain-gmail-gmail.test.ts
with
13 additions
and
1 deletion
__tests__/html-gmail-gmail.test.ts
+
1
−
1
View file @
3a42af8d
...
...
@@ -13,5 +13,5 @@ describe("[HTML] GMail-GMail", () => {
EMAIL_VENDORS
.
GMAIL
);
describe
(
"
One
"
,
describeFunction
(
"
one
"
,
[
"
0ssss
"
]));
describe
(
"
One
"
,
describeFunction
(
"
one
"
,
[
""
]));
});
This diff is collapsed.
Click to expand it.
__tests__/plain-gmail-gmail.test.ts
0 → 100644
+
12
−
0
View file @
3a42af8d
const
path
=
require
(
"
path
"
);
import
{
describe
}
from
"
@jest/globals
"
;
import
{
createDescribePlainTestCases
}
from
"
./utils
"
;
const
TESTS_GLOBAL_PATH
=
"
/files/gmail-gmail
"
;
const
testsPath
=
path
.
resolve
(
__dirname
,
`.
${
TESTS_GLOBAL_PATH
}
`
);
describe
(
"
[Plain] GMail-GMail
"
,
()
=>
{
const
describeFunction
=
createDescribePlainTestCases
(
testsPath
);
describe
(
"
One
"
,
describeFunction
(
"
one
"
,
[
"
04
"
,
"
17
"
,
"
18
"
,
"
20
"
]));
});
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment