sajaniemi_variable_dataset_large / pool /shard001 /JavaScript /0006101_test-devserver-inline-as-valid.js
Pendigard's picture
Upload folder using huggingface_hub (part 23)
bd98362 verified
Raw History Blame Contribute Delete
402 Bytes
const test = require('tape');
const fp = require('../');
test('devServer.inline: property is set', function (t) {
t.plan(1);
const options = {
isDevMode: true,
isHMREnabled: true,
devServerPort: 80,
};
const target = true;
fp(null, options)
.entry('any-entry-file')
.devServer(target)
.run(cfg => t.equals(cfg.devServer.inline, target));
});