File: test.js

package info (click to toggle)
node-lowercase-keys 1.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 104 kB
  • sloc: makefile: 2; sh: 2
file content (9 lines) | stat: -rw-r--r-- 226 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
'use strict';
var test = require('ava');
var lowercaseKeys = require('./');

test(function (t) {
	t.assert(lowercaseKeys({FOO: true}).foo === true);
	t.assert(lowercaseKeys({FOO: true, bAr: true}).bar === true);
	t.end();
});