|
@ -5,6 +5,5 @@ import expectedProperties from './fixtures/expectedProperties'; |
|
|
test(t => { |
|
|
test(t => { |
|
|
browserEnv(); |
|
|
browserEnv(); |
|
|
const properties = Object.getOwnPropertyNames(window); |
|
|
const properties = Object.getOwnPropertyNames(window); |
|
|
t.is(properties.length, expectedProperties.length); |
|
|
t.deepEqual(expectedProperties.sort(), properties.sort()); |
|
|
properties.forEach(prop => t.true(expectedProperties.indexOf(prop) > -1)); |
|
|
|
|
|
}); |
|
|
}); |
|
|