0.1.0 • Published 3 years ago
@k6js/contrib-fields-weight v0.1.0
Weight Field
import { weight } from '@k6-contrib/fields-weight';
import 'dotenv/config';
const Product = list({
fields: {
title: text({ validation: { isRequired: true } }),
content: text(),
weight: weight({}),
packageWeight: weight({}),
},
});
0.1.0
3 years ago