This commit is contained in:
@@ -44,6 +44,7 @@ async function attachBeta(state = 'running', outcome?: string, deleted = false)
|
||||
const { createScript } = await import('../../src/lib/server/fleet/scripts.js');
|
||||
const { db } = await import('../../src/lib/server/db/index.js');
|
||||
const { script, version } = createScript({
|
||||
releaseVersion: '1.0.0',
|
||||
name: 'Protected beta',
|
||||
targetRelPath: 'protected.gsc',
|
||||
scopeType: 'game',
|
||||
@@ -171,6 +172,7 @@ describe('active beta destruction guard', () => {
|
||||
expect(queued.ok).toBe(true);
|
||||
if (!queued.ok) throw new Error('Expected queued removal');
|
||||
const { script, version } = createScript({
|
||||
releaseVersion: '1.0.0',
|
||||
name: 'Beta admission',
|
||||
targetRelPath: 'admission.gsc',
|
||||
scopeType: 'game',
|
||||
@@ -221,6 +223,7 @@ describe('active beta destruction guard', () => {
|
||||
.prepare('UPDATE server_deployments SET state = ?, stage = ? WHERE id = ?')
|
||||
.run(state, stage, operation);
|
||||
const { script, version } = createScript({
|
||||
releaseVersion: '1.0.0',
|
||||
name: 'Beta admission',
|
||||
targetRelPath: 'admission.gsc',
|
||||
scopeType: 'game',
|
||||
|
||||
Reference in New Issue
Block a user