Skip to content

Commit

Permalink
Update sample JSONs based on any changes from master and recomment re…
Browse files Browse the repository at this point in the history
…creating sample JSONs

Signed-off-by: Joyce Quach <[email protected]>
  • Loading branch information
jtquach1 committed Dec 27, 2024
1 parent d656689 commit 42de1e0
Show file tree
Hide file tree
Showing 9 changed files with 48 additions and 48 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"platform": {
"name": "Heimdall Tools",
"release": "2.10.19"
"release": "2.11.1"
},
"version": "2.10.19",
"version": "2.11.1",
"statistics": {},
"profiles": [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"platform": {
"name": "Heimdall Tools",
"release": "2.10.19"
"release": "2.11.1"
},
"version": "2.10.19",
"version": "2.11.1",
"statistics": {},
"profiles": [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"platform": {
"name": "Heimdall Tools",
"release": "2.10.19"
"release": "2.11.1"
},
"version": "2.10.19",
"version": "2.11.1",
"statistics": {},
"profiles": [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"platform": {
"name": "Heimdall Tools",
"release": "2.10.19"
"release": "2.11.1"
},
"version": "2.10.19",
"version": "2.11.1",
"statistics": {},
"profiles": [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"platform": {
"name": "Heimdall Tools",
"release": "2.10.19"
"release": "2.11.1"
},
"version": "2.10.19",
"version": "2.11.1",
"statistics": {},
"profiles": [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"platform": {
"name": "Heimdall Tools",
"release": "2.10.19"
"release": "2.11.1"
},
"version": "2.10.19",
"version": "2.11.1",
"statistics": {},
"profiles": [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"platform": {
"name": "Heimdall Tools",
"release": "2.10.19"
"release": "2.11.1"
},
"version": "2.10.19",
"version": "2.11.1",
"statistics": {},
"profiles": [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"platform": {
"name": "Heimdall Tools",
"release": "2.10.19"
"release": "2.11.1"
},
"version": "2.10.19",
"version": "2.11.1",
"statistics": {},
"profiles": [
{
Expand Down
64 changes: 32 additions & 32 deletions libs/hdf-converters/test/mappers/forward/neuvector_mapper.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ describe('neuvector_mapper', () => {
)
);

fs.writeFileSync(
'sample_jsons/neuvector_mapper/neuvector-hdf-mitre-caldera.json',
JSON.stringify(mapper.toHdf(), null, 2)
);
// fs.writeFileSync(
// 'sample_jsons/neuvector_mapper/neuvector-hdf-mitre-caldera.json',
// JSON.stringify(mapper.toHdf(), null, 2)
// );

expect(omitVersions(mapper.toHdf())).toEqual(
omitVersions(
Expand All @@ -36,10 +36,10 @@ describe('neuvector_mapper', () => {
)
);

fs.writeFileSync(
'sample_jsons/neuvector_mapper/neuvector-hdf-mitre-heimdall.json',
JSON.stringify(mapper.toHdf(), null, 2)
);
// fs.writeFileSync(
// 'sample_jsons/neuvector_mapper/neuvector-hdf-mitre-heimdall.json',
// JSON.stringify(mapper.toHdf(), null, 2)
// );

expect(omitVersions(mapper.toHdf())).toEqual(
omitVersions(
Expand All @@ -61,10 +61,10 @@ describe('neuvector_mapper', () => {
)
);

fs.writeFileSync(
'sample_jsons/neuvector_mapper/neuvector-hdf-mitre-heimdall2.json',
JSON.stringify(mapper.toHdf(), null, 2)
);
// fs.writeFileSync(
// 'sample_jsons/neuvector_mapper/neuvector-hdf-mitre-heimdall2.json',
// JSON.stringify(mapper.toHdf(), null, 2)
// );

expect(omitVersions(mapper.toHdf())).toEqual(
omitVersions(
Expand All @@ -86,10 +86,10 @@ describe('neuvector_mapper', () => {
)
);

fs.writeFileSync(
'sample_jsons/neuvector_mapper/neuvector-hdf-mitre-vulcan.json',
JSON.stringify(mapper.toHdf(), null, 2)
);
// fs.writeFileSync(
// 'sample_jsons/neuvector_mapper/neuvector-hdf-mitre-vulcan.json',
// JSON.stringify(mapper.toHdf(), null, 2)
// );

expect(omitVersions(mapper.toHdf())).toEqual(
omitVersions(
Expand All @@ -114,10 +114,10 @@ describe('neuvector_mapper_withraw', () => {
true
);

fs.writeFileSync(
'sample_jsons/neuvector_mapper/neuvector-hdf-withraw-mitre-caldera.json',
JSON.stringify(mapper.toHdf(), null, 2)
);
// fs.writeFileSync(
// 'sample_jsons/neuvector_mapper/neuvector-hdf-withraw-mitre-caldera.json',
// JSON.stringify(mapper.toHdf(), null, 2)
// );

expect(omitVersions(mapper.toHdf())).toEqual(
omitVersions(
Expand All @@ -140,10 +140,10 @@ describe('neuvector_mapper_withraw', () => {
true
);

fs.writeFileSync(
'sample_jsons/neuvector_mapper/neuvector-hdf-withraw-mitre-heimdall.json',
JSON.stringify(mapper.toHdf(), null, 2)
);
// fs.writeFileSync(
// 'sample_jsons/neuvector_mapper/neuvector-hdf-withraw-mitre-heimdall.json',
// JSON.stringify(mapper.toHdf(), null, 2)
// );

expect(omitVersions(mapper.toHdf())).toEqual(
omitVersions(
Expand All @@ -166,10 +166,10 @@ describe('neuvector_mapper_withraw', () => {
true
);

fs.writeFileSync(
'sample_jsons/neuvector_mapper/neuvector-hdf-withraw-mitre-heimdall2.json',
JSON.stringify(mapper.toHdf(), null, 2)
);
// fs.writeFileSync(
// 'sample_jsons/neuvector_mapper/neuvector-hdf-withraw-mitre-heimdall2.json',
// JSON.stringify(mapper.toHdf(), null, 2)
// );

expect(omitVersions(mapper.toHdf())).toEqual(
omitVersions(
Expand All @@ -192,10 +192,10 @@ describe('neuvector_mapper_withraw', () => {
true
);

fs.writeFileSync(
'sample_jsons/neuvector_mapper/neuvector-hdf-withraw-mitre-vulcan.json',
JSON.stringify(mapper.toHdf(), null, 2)
);
// fs.writeFileSync(
// 'sample_jsons/neuvector_mapper/neuvector-hdf-withraw-mitre-vulcan.json',
// JSON.stringify(mapper.toHdf(), null, 2)
// );

expect(omitVersions(mapper.toHdf())).toEqual(
omitVersions(
Expand Down

0 comments on commit 42de1e0

Please sign in to comment.