# Snapshot report for `__test__/index.spec.ts`

The actual snapshot is saved in `index.spec.ts.snap`.

Generated by [AVA](https://avajs.dev).

## it queries label in `Hello, Typst! <my-label>`

> Snapshot 1

    [
      {
        costs: {
          hyphenation: '100%',
          orphan: '100%',
          runt: '100%',
          widow: '100%',
        },
        func: 'text',
        label: '<my-label>',
        text: 'Hello, Typst!',
      },
    ]

## it throws error`

> Snapshot 1

    [
      {
        message: 'unclosed label',
        package: '',
        path: '/__main__.typ',
        range: null,
        severity: 1,
      },
    ]

> Snapshot 2

    [
      {
        message: 'unclosed label',
        package: '',
        path: '/__main__.typ',
        range: {
          end: {
            column: 18,
            line: 1,
          },
          start: {
            column: 14,
            line: 1,
          },
        },
        severity: 1,
      },
    ]

## it takes in the workspace and entry file in compiler ctor

> Snapshot 1

    'Post 1'

## it modifys the entry file to another when call `compile`

> Snapshot 1

    'Post 2'
