Generate tests

This commit is contained in:
Leo Balter 2018-10-18 12:08:29 -04:00 committed by Rick Waldron
parent 5f88a9293c
commit eedbf4cf1d
6 changed files with 6 additions and 6 deletions

View File

@ -38,7 +38,7 @@ async function * f() {
return await import('./eval-gtbndng-indirect-update-dflt_FIXTURE.js');
}
f().next().then(imported => {
f().next().then(({value: imported}) => {
assert.sameValue(imported.default(), 1);
assert.sameValue(imported.default, 2);

View File

@ -39,7 +39,7 @@ async function * f() {
return await import('./eval-gtbndng-indirect-update_FIXTURE.js');
}
f().next().then(imported => {
f().next().then(({value: imported}) => {
assert.sameValue(imported.x, 1);

View File

@ -30,7 +30,7 @@ async function * f() {
return await import('./module-code_FIXTURE.js');
}
f().next().then(imported => {
f().next().then(({value: imported}) => {
assert.sameValue(imported.default, 42);
assert.sameValue(imported.x, 'Test262');

View File

@ -26,7 +26,7 @@ async function * f() {
return await import('./dynamic-import-module_FIXTURE.js')['then'](x => x);
}
f().next().then(imported => {
f().next().then(({value: imported}) => {
assert.sameValue(imported.x, 1);

View File

@ -26,7 +26,7 @@ async function * f() {
return await import('./dynamic-import-module_FIXTURE.js');
}
f().next().then(imported => {
f().next().then(({value: imported}) => {
assert.sameValue(imported.x, 1);

View File

@ -48,7 +48,7 @@ async function * f() {
return await import(obj);
}
f().next().then(imported => {
f().next().then(({value: imported}) => {
assert.sameValue(imported.default, 42);
assert.sameValue(imported.x, 'Test262');