refactor: replace overloaded surface terminology
This commit is contained in:
@@ -881,7 +881,7 @@ describe('glob results', () => {
|
||||
expect(spill?.saves).toHaveLength(0)
|
||||
})
|
||||
|
||||
it('keeps the full nested Code value without creating a surface spill', async () => {
|
||||
it('keeps the full nested Code value without creating a top-level spill', async () => {
|
||||
const { ctx, subprocess, spill } = await setup({ config: { globMaxResults: 2 }, spill: true })
|
||||
subprocess.handler = () => runResult('a.ts\nb.ts\nc.ts\nd.ts\n')
|
||||
const result = await call(ctx, 'glob', { pattern: '*.ts' }, {
|
||||
@@ -1028,7 +1028,7 @@ describe('grep results', () => {
|
||||
expect(spill?.saves).toHaveLength(0)
|
||||
})
|
||||
|
||||
it('keeps every nested Code match in the value without creating a surface spill', async () => {
|
||||
it('keeps every nested Code match in the value without creating a top-level spill', async () => {
|
||||
const { ctx, subprocess, spill } = await setup({ config: { grepMaxMatches: 1 }, spill: true })
|
||||
subprocess.handler = () => runResult(`${matchLine('a.ts', 1, 'one')}\n${matchLine('b.ts', 2, 'two')}\n`)
|
||||
const result = await call(ctx, 'grep', { pattern: 'o' }, {
|
||||
|
||||
Reference in New Issue
Block a user