Lines Matching refs:st
39 t.test('lastIndex is a marker object', function (st) { argument
43 st.equal(regex.lastIndex, marker, 'lastIndex is the marker object');
44 st.ok(isRegex(regex), 'is regex');
45 st.equal(regex.lastIndex, marker, 'lastIndex is the marker object after isRegex');
46 st.end();
49 t.test('lastIndex is nonzero', function (st) { argument
52 st.equal(regex.lastIndex, 3, 'lastIndex is 3');
53 st.ok(isRegex(regex), 'is regex');
54 st.equal(regex.lastIndex, 3, 'lastIndex is 3 after isRegex');
55 st.end();
85 t.test('proxy of object', function (st) { argument
89 st.equal(isRegex(proxy), false, 'proxy of plain object is not regex');
90 …st.deepEqual(handler.trapCalls, ['getOwnPropertyDescriptor'], 'no unexpected proxy traps were trig…
91 st.end();
94 t.test('proxy of RegExp instance', function (st) { argument
98 st.equal(isRegex(proxy), false, 'proxy of RegExp instance is not regex');
99 …st.deepEqual(handler.trapCalls, ['getOwnPropertyDescriptor'], 'no unexpected proxy traps were trig…
100 st.end();