Commit 02bee8f7 authored by nanahira's avatar nanahira

unit test for compat

parent b22a2cc5
import { RegisterSchema, SchemaProperty } from '../src/decorators';
import {
DefineSchema,
RegisterSchema,
SchemaProperty,
} from '../src/decorators';
import Schema from 'schemastery';
describe('Schema arrays', () => {
@RegisterSchema()
@DefineSchema()
class MyProperty {
@SchemaProperty({ default: 'default' })
@DefineSchema({ default: 'default' })
name: string;
getName() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment