mirror of
https://github.com/directus/directus.git
synced 2026-02-19 00:24:20 -05:00
@@ -63,6 +63,7 @@ describe('#registerLocation', () => {
|
||||
describe('#location', () => {
|
||||
test(`Throws error if location is used that wasn't registered`, () => {
|
||||
const manager = new StorageManager();
|
||||
|
||||
expect(() => manager.location('missing')).toThrowErrorMatchingInlineSnapshot(
|
||||
'"Location \\"missing\\" doesn\'t exist."'
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user