This commit is contained in:
@@ -244,7 +244,12 @@ describe('GitHub DLL imports', () => {
|
||||
await expect(importPluginRelease({ url, assetId: 999, name: 'Utilities' })).rejects.toThrow(
|
||||
/no longer available/
|
||||
);
|
||||
const script = createScript({ name: 'Script', targetRelPath: 's.gsc', content });
|
||||
const script = createScript({
|
||||
releaseVersion: '1.0.0',
|
||||
name: 'Script',
|
||||
targetRelPath: 's.gsc',
|
||||
content
|
||||
});
|
||||
await expect(
|
||||
importPluginRelease({ url, assetId: 200, pluginId: script.script.id })
|
||||
).rejects.toMatchObject({ status: 404 });
|
||||
|
||||
Reference in New Issue
Block a user