Skip to content

Commit 8a5ba75

Browse files
committed
Add NO nat for versions 1.2+ in random nat test
1 parent d7feded commit 8a5ba75

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

spec/api/modern/1.0.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,18 @@ module.exports = (server, version=defVersion) => {
1111
'cell', 'id', 'picture', 'nat'
1212
];
1313

14-
const nats = [
14+
let nats = [
1515
'AU', 'BR', 'CA', 'CH',
1616
'DE', 'DK', 'ES', 'FI',
1717
'FR', 'GB', 'IE', 'IR',
1818
'NL', 'NZ', 'TR', 'US'
1919
];
2020

21+
// Include NO nat for versions 1.2+
22+
if (version !== "1.0" && version !== "1.1") {
23+
nats.push('NO');
24+
}
25+
2126
// Include fields
2227
describe(`Include fields`, () => {
2328
for (let i = 0; i < 5; i++) {

0 commit comments

Comments
 (0)