Skip to content

Commit

Permalink
remove missing export test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
ignatiusmb committed Aug 25, 2021
1 parent 2099d33 commit 1d0597c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 27 deletions.

This file was deleted.

Empty file.
15 changes: 0 additions & 15 deletions packages/kit/src/core/config/test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,21 +71,6 @@ test('load default config (esm)', async () => {
await testLoadDefaultConfig('default-esm');
});

test('errors on loading config without default export', async () => {
let errorMessage = null;
try {
const cwd = join(__dirname, 'fixtures', 'export-missing');
await load_config({ cwd });
} catch (e) {
errorMessage = e.message;
}

assert.equal(
errorMessage,
'Your config is missing default exports. Make sure to include "export default config;"'
);
});

test('errors on loading config with incorrect default export', async () => {
let errorMessage = null;
try {
Expand Down

0 comments on commit 1d0597c

Please sign in to comment.