Skip to content

Commit

Permalink
add atomic-expression
Browse files Browse the repository at this point in the history
  • Loading branch information
ChromeGG committed Dec 9, 2023
1 parent ad07a30 commit ed8116c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 31 deletions.
31 changes: 0 additions & 31 deletions src/index.spec.ts

This file was deleted.

13 changes: 13 additions & 0 deletions src/spec/atomic-expression.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { expect, describe, it } from 'vitest'

import { parse } from '..'

describe('atomic expressions', () => {
it('should parse a number', () => {
const expr = '1'

const result = parse(expr)

expect(result).toBe(1)
})
})

0 comments on commit ed8116c

Please sign in to comment.