mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	docs: Add syntax highlighting languages to code blocks.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							8fd89f87e0
						
					
				
				
					commit
					b29b6f6526
				
			@@ -10,8 +10,8 @@ keyboard shortcuts, etc.).
 | 
			
		||||
## Running tests
 | 
			
		||||
 | 
			
		||||
You can run this test suite as follows:
 | 
			
		||||
```
 | 
			
		||||
    tools/test-js-with-puppeteer
 | 
			
		||||
```bash
 | 
			
		||||
tools/test-js-with-puppeteer
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
See `tools/test-js-with-puppeteer --help` for useful options,
 | 
			
		||||
@@ -34,7 +34,7 @@ appears/disappears", or "Click on this HTML element".
 | 
			
		||||
For example, this function might test the `x` keyboard shortcut to
 | 
			
		||||
open the compose box for a new private message:
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
```js
 | 
			
		||||
async function test_private_message_compose_shortcut(page) {
 | 
			
		||||
    await page.keyboard.press("KeyX");
 | 
			
		||||
    await page.waitForSelector("#private_message_recipient", {visible: true});
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user