We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec98f60 commit f2a58b2Copy full SHA for f2a58b2
lib/buildtools/src/build/manifest/__tests__/manifest.test.ts
@@ -139,7 +139,10 @@ describe('Test resolveSingleBundle', () => {
139
it('Doesn\'t consider a non-directory a bundle', async () => {
140
const path = `${testMocksDir}/bundles/tsconfig.json`;
141
const resolved = await resolveSingleBundle(path);
142
- expect(resolved).toBeUndefined();
+ expect(resolved).toMatchObject({
143
+ severity: 'error',
144
+ errors: [expect.any(Error)]
145
+ });
146
147
const stats = await fs.stat(path);
148
expect(stats.isDirectory()).toEqual(false);
0 commit comments