Skip to content

Commit

Permalink
fix(compartment-mapper): Update stack trace sensitive snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
kriskowal committed Aug 21, 2023
1 parent 860c6b1 commit e3e8a7e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 76 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,14 @@ Generated by [AVA](https://avajs.dev).
`Error: Cannot find external module "missing" in package file://.../compartment-mapper/test/fixtures-error-handling/node_modules/cjs/␊
at Object.execute (file://.../compartment-mapper/src/import-archive.js:…)␊
at execute (file://.../ses/src/module-instance.js:…)␊
at compartmentImportNow (file://.../ses/src/compartment-shim.js:…)␊
at Compartment.importNow (file://.../ses/src/compartment-shim.js:…)␊
at compartmentImportNow (file://.../ses/src/compartment.js:…)␊
at Compartment.importNow (file://.../ses/src/compartment.js:…)␊
at require (file://.../compartment-mapper/src/parse-cjs-shared-export-wrapper.js:…)␊
at eval (eval at <anonymous> (eval at makeEvaluate (file://.../ses/src/make-evaluate.js:…)), <anonymous>:…)␊
at Object.execute (file://.../compartment-mapper/src/parse-pre-cjs.js:…)␊
at execute (file://.../ses/src/module-instance.js:…)␊
at compartmentImportNow (file://.../ses/src/compartment-shim.js:…)␊
at file://.../ses/src/compartment-shim.js:…`
at compartmentImportNow (file://.../ses/src/compartment.js:…)␊
at file://.../ses/src/compartment.js:…`

## fixtures-error-handling / cjs / makeArchive / parseArchive with a prefix

Expand All @@ -111,14 +111,14 @@ Generated by [AVA](https://avajs.dev).
`Error: Cannot find external module "missing" in package file://.../compartment-mapper/test/fixtures-error-handling/node_modules/cjs/␊
at Object.execute (file://.../compartment-mapper/src/import-archive.js:…)␊
at execute (file://.../ses/src/module-instance.js:…)␊
at compartmentImportNow (file://.../ses/src/compartment-shim.js:…)␊
at Compartment.importNow (file://.../ses/src/compartment-shim.js:…)␊
at compartmentImportNow (file://.../ses/src/compartment.js:…)␊
at Compartment.importNow (file://.../ses/src/compartment.js:…)␊
at require (file://.../compartment-mapper/src/parse-cjs-shared-export-wrapper.js:…)␊
at eval (eval at <anonymous> (eval at makeEvaluate (file://.../ses/src/make-evaluate.js:…)), <anonymous>:…)␊
at Object.execute (file://.../compartment-mapper/src/parse-pre-cjs.js:…)␊
at execute (file://.../ses/src/module-instance.js:…)␊
at compartmentImportNow (file://.../ses/src/compartment-shim.js:…)␊
at file://.../ses/src/compartment-shim.js:…`
at compartmentImportNow (file://.../ses/src/compartment.js:…)␊
at file://.../ses/src/compartment.js:…`

## fixtures-error-handling / cjs / writeArchive / loadArchive

Expand All @@ -127,14 +127,14 @@ Generated by [AVA](https://avajs.dev).
`Error: Cannot find external module "missing" in package file://.../compartment-mapper/test/fixtures-error-handling/node_modules/cjs/␊
at Object.execute (file://.../compartment-mapper/src/import-archive.js:…)␊
at execute (file://.../ses/src/module-instance.js:…)␊
at compartmentImportNow (file://.../ses/src/compartment-shim.js:…)␊
at Compartment.importNow (file://.../ses/src/compartment-shim.js:…)␊
at compartmentImportNow (file://.../ses/src/compartment.js:…)␊
at Compartment.importNow (file://.../ses/src/compartment.js:…)␊
at require (file://.../compartment-mapper/src/parse-cjs-shared-export-wrapper.js:…)␊
at eval (eval at <anonymous> (eval at makeEvaluate (file://.../ses/src/make-evaluate.js:…)), <anonymous>:…)␊
at Object.execute (file://.../compartment-mapper/src/parse-pre-cjs.js:…)␊
at execute (file://.../ses/src/module-instance.js:…)␊
at compartmentImportNow (file://.../ses/src/compartment-shim.js:…)␊
at file://.../ses/src/compartment-shim.js:…`
at compartmentImportNow (file://.../ses/src/compartment.js:…)␊
at file://.../ses/src/compartment.js:…`

## fixtures-error-handling / cjs / writeArchive / importArchive

Expand All @@ -143,71 +143,11 @@ Generated by [AVA](https://avajs.dev).
`Error: Cannot find external module "missing" in package file://.../compartment-mapper/test/fixtures-error-handling/node_modules/cjs/␊
at Object.execute (file://.../compartment-mapper/src/import-archive.js:…)␊
at execute (file://.../ses/src/module-instance.js:…)␊
at compartmentImportNow (file://.../ses/src/compartment-shim.js:…)␊
at Compartment.importNow (file://.../ses/src/compartment-shim.js:…)␊
at compartmentImportNow (file://.../ses/src/compartment.js:…)␊
at Compartment.importNow (file://.../ses/src/compartment.js:…)␊
at require (file://.../compartment-mapper/src/parse-cjs-shared-export-wrapper.js:…)␊
at eval (eval at <anonymous> (eval at makeEvaluate (file://.../ses/src/make-evaluate.js:…)), <anonymous>:…)␊
at Object.execute (file://.../compartment-mapper/src/parse-pre-cjs.js:…)␊
at execute (file://.../ses/src/module-instance.js:…)␊
at compartmentImportNow (file://.../ses/src/compartment-shim.js:…)␊
at file://.../ses/src/compartment-shim.js:…`

## fixtures-error-handling / both / loadLocation

> Snapshot 1
`TypeError: Failed to load module "./main.js" in package "file://.../compartment-mapper/test/fixtures-error-handling/node_modules/both/" (1 underlying failures: Cannot find external module "missing" in package file://.../compartment-mapper/test/fixtures-error-handling/node_modules/esm/␊
at load (file://.../ses/src/module-load.js:…)␊
at async file://.../compartment-mapper/test/scaffold.js:…␊
at async file://.../compartment-mapper/test/scaffold.js:…`


## fixtures-error-handling / both / makeArchive / parseArchive

> Snapshot 1
`TypeError: Failed to load module "./main.js" in package "file://.../compartment-mapper/test/fixtures-error-handling/node_modules/both/" (1 underlying failures: Cannot find external module "missing" in package file://.../compartment-mapper/test/fixtures-error-handling/node_modules/esm/␊
at load (file://.../ses/src/module-load.js:…)␊
at async digestLocation (file://.../compartment-mapper/src/archive.js:…)␊
at async makeAndHashArchive (file://.../compartment-mapper/src/archive.js:…)␊
at async makeArchive (file://.../compartment-mapper/src/archive.js:…)␊
at async file://.../compartment-mapper/test/scaffold.js:…␊
at async file://.../compartment-mapper/test/scaffold.js:…`

## fixtures-error-handling / both / makeArchive / parseArchive with a prefix

> Snapshot 1
`TypeError: Failed to load module "./main.js" in package "file://.../compartment-mapper/test/fixtures-error-handling/node_modules/both/" (1 underlying failures: Cannot find external module "missing" in package file://.../compartment-mapper/test/fixtures-error-handling/node_modules/esm/␊
at load (file://.../ses/src/module-load.js:…)␊
at async digestLocation (file://.../compartment-mapper/src/archive.js:…)␊
at async makeAndHashArchive (file://.../compartment-mapper/src/archive.js:…)␊
at async makeArchive (file://.../compartment-mapper/src/archive.js:…)␊
at async file://.../compartment-mapper/test/scaffold.js:…␊
at async file://.../compartment-mapper/test/scaffold.js:…`

## fixtures-error-handling / both / writeArchive / loadArchive

> Snapshot 1
`TypeError: Failed to load module "./main.js" in package "file://.../compartment-mapper/test/fixtures-error-handling/node_modules/both/" (1 underlying failures: Cannot find external module "missing" in package file://.../compartment-mapper/test/fixtures-error-handling/node_modules/esm/␊
at load (file://.../ses/src/module-load.js:…)␊
at async digestLocation (file://.../compartment-mapper/src/archive.js:…)␊
at async makeAndHashArchive (file://.../compartment-mapper/src/archive.js:…)␊
at async makeArchive (file://.../compartment-mapper/src/archive.js:…)␊
at async writeArchive (file://.../compartment-mapper/src/archive.js:…)␊
at async file://.../compartment-mapper/test/scaffold.js:…␊
at async file://.../compartment-mapper/test/scaffold.js:…`

## fixtures-error-handling / both / writeArchive / importArchive

> Snapshot 1
`TypeError: Failed to load module "./main.js" in package "file://.../compartment-mapper/test/fixtures-error-handling/node_modules/both/" (1 underlying failures: Cannot find external module "missing" in package file://.../compartment-mapper/test/fixtures-error-handling/node_modules/esm/␊
at load (file://.../ses/src/module-load.js:…)␊
at async digestLocation (file://.../compartment-mapper/src/archive.js:…)␊
at async makeAndHashArchive (file://.../compartment-mapper/src/archive.js:…)␊
at async makeArchive (file://.../compartment-mapper/src/archive.js:…)␊
at async writeArchive (file://.../compartment-mapper/src/archive.js:…)␊
at async file://.../compartment-mapper/test/scaffold.js:…␊
at async file://.../compartment-mapper/test/scaffold.js:…`
at compartmentImportNow (file://.../ses/src/compartment.js:…)␊
at file://.../ses/src/compartment.js:…`
Binary file not shown.

0 comments on commit e3e8a7e

Please sign in to comment.