mirror of
https://github.com/napi-rs/napi-rs.git
synced 2025-12-08 19:56:07 +00:00
9 lines
217 B
JavaScript
9 lines
217 B
JavaScript
const test = require('ava')
|
|
|
|
const bindings = require('../index.node')
|
|
|
|
test('should be able to concat string', (t) => {
|
|
const fixture = 'JavaScript 🌳 你好 napi'
|
|
t.snapshot(bindings.concatString(fixture))
|
|
})
|