Skip to content

Commit

Permalink
Fix test assertion again
Browse files Browse the repository at this point in the history
  • Loading branch information
mattcompiles committed Oct 23, 2023
1 parent 53a6997 commit dec822a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/core/integration-tests/test/bundler.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import {
run,
} from '@parcel/test-utils';
import {hashString} from '@parcel/rust';
import {normalizePath} from '@parcel/utils';

describe('bundler', function () {
it('should not create shared bundles when a bundle is being reused and disableSharedBundles is enabled', async function () {
Expand Down Expand Up @@ -1522,7 +1523,7 @@ describe('bundler', function () {
},
]);

let targetDistDir = path.join(__dirname, '../dist');
let targetDistDir = normalizePath(path.join(__dirname, '../dist'));
let hashedIdWithMSB = hashString('bundle:' + 'vendorjs' + targetDistDir);
assert(
b.getBundles().find(b => b.id == hashedIdWithMSB),
Expand Down Expand Up @@ -1602,7 +1603,7 @@ describe('bundler', function () {
]);
});

it('should support manual shared bundles with internalized assets', async function () {
it.only('should support manual shared bundles with internalized assets', async function () {

Check failure on line 1606 in packages/core/integration-tests/test/bundler.js

View workflow job for this annotation

GitHub Actions / Lint

Unexpected exclusive mocha test
await fsFixture(overlayFS, dir)`
yarn.lock:
// Required for config loading
Expand Down Expand Up @@ -1663,7 +1664,7 @@ describe('bundler', function () {
},
]);

let targetDistDir = path.join(__dirname, '../dist');
let targetDistDir = normalizePath(path.join(__dirname, '../dist'));
let hashedIdWithMSB = hashString('bundle:' + 'vendorjs' + targetDistDir);
assert(
b.getBundles().find(b => b.id == hashedIdWithMSB),
Expand Down

0 comments on commit dec822a

Please sign in to comment.