Skill update round trip / roundtrip (false, macos-latest, copy, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (false, macos-latest, symlink, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (false, ubuntu-latest, copy, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (false, ubuntu-latest, symlink, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (false, ubuntu-latest, symlink, latest) (push) Canceled after 0s
Skill update round trip / roundtrip (false, windows-latest, copy, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (false, windows-latest, symlink, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (true, macos-latest, copy, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (true, macos-latest, symlink, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (true, ubuntu-latest, copy, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (true, ubuntu-latest, symlink, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (true, windows-latest, copy, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (true, windows-latest, symlink, 1.5.17) (push) Canceled after 0s
23 lines
938 B
JavaScript
23 lines
938 B
JavaScript
import { readFileSync } from 'node:fs'
|
|
|
|
import { describe, expect, it } from 'vitest'
|
|
|
|
describe('localization package scripts', () => {
|
|
const scripts = JSON.parse(readFileSync('package.json', 'utf8')).scripts
|
|
|
|
it('keeps safe catalog and extraction verification available', () => {
|
|
expect(scripts['verify:localization-catalog']).toBeDefined()
|
|
expect(scripts['sync:localization-catalog']).toBeDefined()
|
|
expect(scripts['verify:localization-extraction']).toBeDefined()
|
|
})
|
|
|
|
it('does not expose whole-catalog translation and repair commands', () => {
|
|
expect(scripts['bootstrap:locale-catalog']).toBeUndefined()
|
|
expect(scripts['bootstrap:zh-catalog']).toBeUndefined()
|
|
expect(scripts['bootstrap:ko-catalog']).toBeUndefined()
|
|
expect(scripts['bootstrap:ja-catalog']).toBeUndefined()
|
|
expect(scripts['bootstrap:es-catalog']).toBeUndefined()
|
|
expect(scripts['repair:locale-catalog']).toBeUndefined()
|
|
})
|
|
})
|