@gameroom/kit
Version:
Node kit for the Gameroom API
25 lines (20 loc) • 522 B
JavaScript
const chai = require('chai')
const {
lib: { Image_Options }
} = require('../../')
const should = chai.should()
let object
describe('Image_Options', () => {
describe('new Image_Options()', () => {
it('should create a new image option', () => {
object = new Image_Options({ height: 20, width: 20 })
should.exist(object)
})
})
describe('image_option.encode()', () => {
it('should encode image option', () => {
const string = object.encode()
should.exist(string)
})
})
})