Gathering detailed insights and metrics for jest-serializer-xlsx-populate
Gathering detailed insights and metrics for jest-serializer-xlsx-populate
Gathering detailed insights and metrics for jest-serializer-xlsx-populate
Gathering detailed insights and metrics for jest-serializer-xlsx-populate
Turn an [xlsx-populate](https://github.com/dtjohnson/xlsx-populate) workbook into a pretty snapshot.
npm install jest-serializer-xlsx-populate
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
86 Commits
1 Watchers
5 Branches
1 Contributors
Updated on May 07, 2025
Latest Version
3.0.0
Package Id
jest-serializer-xlsx-populate@3.0.0
Unpacked Size
6.64 kB
Size
2.23 kB
File Count
4
NPM Version
10.9.2
Node Version
22.13.1
Published on
May 07, 2025
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
Turn an xlsx-populate workbook into a pretty snapshot.
The serializer will also look for columns marked as ID or Date and mask them, as these will normally change from test to test.
First you need to add the snapshot serializer. You have two options:
1const xlsxPopulateSerializer = require('jest-serializer-xlsx-populate'); 2expect.addSnapshotSerializer(xslxPopulateSerializer);
for example in package.json
1{ 2 "name": "my project", 3 "jest": { 4 "snapshotSerializers": ["jest-serializer-xlsx-populate"] 5 } 6}
Then you can serialize
1const wb = await XlsxPopulate.fromFileAsync('my-file.xlsx');
2expect(wb).toMatchSnapshot();
Of course since you're using xlsx populate to create an xlsx file, it will probably be easier to test the Workbook before saving to disk.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
2 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 1
Reason
Found 0/9 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
39 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More