mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-28 10:37:17 +02:00
19 lines
323 B
JavaScript
19 lines
323 B
JavaScript
"use strict";
|
|
|
|
test("basic functionality", () => {
|
|
expect(isStrictMode()).toBeTrue();
|
|
|
|
(function () {
|
|
expect(isStrictMode()).toBeTrue();
|
|
})();
|
|
|
|
(() => {
|
|
expect(isStrictMode()).toBeTrue();
|
|
})();
|
|
|
|
(() => {
|
|
"use strict";
|
|
expect(isStrictMode()).toBeTrue();
|
|
})();
|
|
});
|