2020-05-27 22:22:08 -07:00
|
|
|
"use strict";
|
|
|
|
|
|
2020-07-05 10:47:40 -07:00
|
|
|
test("basic functionality", () => {
|
|
|
|
|
expect(isStrictMode()).toBeTrue();
|
2020-05-27 22:22:08 -07:00
|
|
|
|
2020-07-05 09:27:00 -07:00
|
|
|
(function () {
|
2020-07-05 10:47:40 -07:00
|
|
|
expect(isStrictMode()).toBeTrue();
|
2020-07-05 09:27:00 -07:00
|
|
|
})();
|
2020-05-27 22:22:08 -07:00
|
|
|
|
2020-07-05 09:27:00 -07:00
|
|
|
(() => {
|
2020-07-05 10:47:40 -07:00
|
|
|
expect(isStrictMode()).toBeTrue();
|
2020-07-05 09:27:00 -07:00
|
|
|
})();
|
2020-05-27 22:22:08 -07:00
|
|
|
|
2020-07-05 09:27:00 -07:00
|
|
|
(() => {
|
|
|
|
|
"use strict";
|
2020-07-05 10:47:40 -07:00
|
|
|
expect(isStrictMode()).toBeTrue();
|
2020-07-05 09:27:00 -07:00
|
|
|
})();
|
2020-07-05 10:47:40 -07:00
|
|
|
});
|