We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5121867 commit 4a62856Copy full SHA for 4a62856
1 file changed
addons/addon-serialize/src/SerializeAddon.test.ts
@@ -149,18 +149,18 @@ describe('SerializeAddon', () => {
149
});
150
151
it('serializes rows within a provided range', async () => {
152
- await writeP(terminal, 'prompt>hello\r\nworld');
+ await writeP(terminal, 'bye hello\r\nworld');
153
const output = serializeAddon.serializeAsHTML({
154
range: {
155
startLine: 0,
156
endLine: 0,
157
- startCol: 7
+ startCol: 4
158
}
159
160
const rowMatches = output.match(/<div><span>.*?<\/span><\/div>/g) || [];
161
assert.equal(rowMatches.length, 1, output);
162
assert.ok(rowMatches[0]?.includes('hello'));
163
- assert.ok(!output.includes('prompt>'));
+ assert.ok(!output.includes('bye'));
164
assert.ok(!output.includes('world'));
165
166
0 commit comments