import { should } from 'chai' ; import { tokenize , Input , Token } from './utils/tokenize' ; describe ( "Labels" , ( ) => { before ( ( ) => { should ( ) ; } ) ; describe ( "Labels" , ( ) => { it ( "declaration" , async ( ) => { const input = Input . InMethod ( `Foo:` ) ; const tokens = await tokenize ( input ) ; tokens . should . deep . equal ( [ Token . Identifiers . LabelName ( "Foo" ) , Token . Punctuation . Colon ] ) ; } ) ; } ) ; } ) ;