Skip to content

Commit

Permalink
nul
Browse files Browse the repository at this point in the history
  • Loading branch information
connorjclark committed Dec 7, 2019
1 parent ed4bb21 commit 7d50227
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lighthouse-core/test/computed/bundle-analysis-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,11 @@ describe('BundleAnalysis computed artifact', () => {
`);
});

it('works (simple map) (null sources)', async () => {
it('works (simple map) (null source)', async () => {
// This map is from source-map-explorer.
// https://github.com/danvk/source-map-explorer/tree/4b95f6e7dfe0058d791dcec2107fee43a1ebf02e/tests
const {map, content} = load('foo.min');
map.sources[3] = null;
map.sources[1] = null;
const networkRecords = [{url: 'https://example.com/foo.min.js'}];
const artifacts = {
SourceMaps: [{scriptUrl: 'https://example.com/foo.min.js', map}],
Expand All @@ -99,7 +99,7 @@ describe('BundleAnalysis computed artifact', () => {
Object {
"files": Object {
"node_modules/browser-pack/_prelude.js": 480,
"src/bar.js": 104,
"null": 104,
"src/foo.js": 97,
},
"totalBytes": 718,
Expand Down

0 comments on commit 7d50227

Please sign in to comment.