hunk.code_window: {
   	"name": "@tldraw/store",
   	"description": "A tiny little drawing app (store).",
   	"version": "2.0.0-beta.0",
   	"packageManager": "yarn@3.5.0",
   	"author": {
   		"name": "tldraw GB Ltd.",
   		"email": "hello@tldraw.com"
  
hunk.labels: keep keep keep replace keep keep keep keep
hunk.after_edit: 	"version": "2.0.0-alpha.17",
  
hunk.file_path: packages/store/package.json
hunk.type: replace
file: import { Vec2d } from '@tldraw/editor'
  import { TestEditor } from '../TestEditor'
  
  let editor: TestEditor
  
  beforeEach(() => {
  	editor = new TestEditor()
  })
  
  it('ignores touch events while in pen mode', async () => {
  	editor.setCurrentTool('draw')
  	editor.updateInstanceState({ isPenMode: true })
  	editor.dispatch({
  		type: 'pointer',
  		name: 'pointer_down',
  		isPen: false,
  		pointerId: 1,
  		point: new Vec2d(100, 100),
  		shiftKey: false,
  		altKey: false,
  		ctrlKey: false,
  		button: 1,
  		target: 'canvas',
  	})
  
  	expect(editor.currentPageShapes.length).toBe(0)
  })
  